pub struct RecvMeta {
pub addr: SocketAddr,
pub len: usize,
pub ecn: Option<EcnCodepoint>,
pub dst_ip: Option<IpAddr>,
}
Fields
addr: SocketAddr
len: usize
ecn: Option<EcnCodepoint>
dst_ip: Option<IpAddr>
The destination IP address which was encoded in this datagram
Trait Implementations
impl Copy for RecvMeta
Auto Trait Implementations
impl RefUnwindSafe for RecvMeta
impl Send for RecvMeta
impl Sync for RecvMeta
impl Unpin for RecvMeta
impl UnwindSafe for RecvMeta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more