Struct iroh_quinn_udp::RecvMeta
source · pub struct RecvMeta {
pub addr: SocketAddr,
pub len: usize,
pub stride: usize,
pub ecn: Option<EcnCodepoint>,
pub dst_ip: Option<IpAddr>,
}
Fields§
§addr: SocketAddr
§len: usize
§stride: 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 Freeze for RecvMeta
impl RefUnwindSafe for RecvMeta
impl Send for RecvMeta
impl Sync for RecvMeta
impl Unpin for RecvMeta
impl UnwindSafe for RecvMeta
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