Struct stabilizer::net::data_stream::StreamTarget
source · pub struct StreamTarget {
pub ip: [u8; 4],
pub port: u16,
}
Expand description
Fields§
§ip: [u8; 4]
§port: u16
Trait Implementations§
source§impl Clone for StreamTarget
impl Clone for StreamTarget
source§fn clone(&self) -> StreamTarget
fn clone(&self) -> StreamTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StreamTarget
impl Debug for StreamTarget
source§impl Default for StreamTarget
impl Default for StreamTarget
source§fn default() -> StreamTarget
fn default() -> StreamTarget
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StreamTarget
impl<'de> Deserialize<'de> for StreamTarget
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<StreamTarget> for SocketAddr
impl From<StreamTarget> for SocketAddr
source§fn from(target: StreamTarget) -> SocketAddr
fn from(target: StreamTarget) -> SocketAddr
Converts to this type from the input type.
source§impl Serialize for StreamTarget
impl Serialize for StreamTarget
impl Copy for StreamTarget
Auto Trait Implementations§
impl Freeze for StreamTarget
impl RefUnwindSafe for StreamTarget
impl Send for StreamTarget
impl Sync for StreamTarget
impl Unpin for StreamTarget
impl UnwindSafe for StreamTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more