Struct s2n_quic_core::packet::interceptor::Datagram
source · pub struct Datagram<'a> {
pub remote_address: SocketAddress<'a>,
pub local_address: SocketAddress<'a>,
pub timestamp: Timestamp,
}
Expand description
TODO add non_exhaustive
once/if this feature is stable
Fields§
§remote_address: SocketAddress<'a>
§local_address: SocketAddress<'a>
§timestamp: Timestamp
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Datagram<'a>
impl<'a> RefUnwindSafe for Datagram<'a>
impl<'a> Send for Datagram<'a>
impl<'a> Sync for Datagram<'a>
impl<'a> Unpin for Datagram<'a>
impl<'a> UnwindSafe for Datagram<'a>
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