pub struct MsgHeader {
pub(crate) src: SocketAddr,
pub(crate) dst: SocketAddr,
pub(crate) len: u16,
}
Fields§
§src: SocketAddr
§dst: SocketAddr
§len: u16
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MsgHeader
impl RefUnwindSafe for MsgHeader
impl Send for MsgHeader
impl Sync for MsgHeader
impl Unpin for MsgHeader
impl UnwindSafe for MsgHeader
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