Struct gaffer_udp::packet::GafferPacket
[−]
[src]
pub struct GafferPacket { pub addr: SocketAddr, pub payload: GafferPayload, }
Fields
addr: SocketAddr
payload: GafferPayload
Methods
impl GafferPacket
[src]
fn dummy_packet() -> GafferPacket
fn new<A: ToSingleSocketAddr>(addr: A, payload: GafferPayload) -> GafferPacket
Trait Implementations
impl Clone for GafferPacket
[src]
fn clone(&self) -> GafferPacket
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for GafferPacket
[src]
fn eq(&self, __arg_0: &GafferPacket) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GafferPacket) -> bool
This method tests for !=
.