Struct s2n_quic_core::path::migration::PacketInfoBuilder
source · pub struct PacketInfoBuilder<'a> {
pub remote_address: &'a SocketAddress,
pub local_address: &'a SocketAddress,
}
Fields§
§remote_address: &'a SocketAddress
§local_address: &'a SocketAddress
Trait Implementations§
source§impl<'a> Debug for PacketInfoBuilder<'a>
impl<'a> Debug for PacketInfoBuilder<'a>
source§impl<'a> From<PacketInfoBuilder<'a>> for PacketInfo<'a>
impl<'a> From<PacketInfoBuilder<'a>> for PacketInfo<'a>
source§fn from(builder: PacketInfoBuilder<'a>) -> Self
fn from(builder: PacketInfoBuilder<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for PacketInfoBuilder<'a>
impl<'a> RefUnwindSafe for PacketInfoBuilder<'a>
impl<'a> Send for PacketInfoBuilder<'a>
impl<'a> Sync for PacketInfoBuilder<'a>
impl<'a> Unpin for PacketInfoBuilder<'a>
impl<'a> UnwindSafe for PacketInfoBuilder<'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