pub struct OwnedEthernet2Frame {
pub header: Ethernet2Header,
pub payload: Vec<u8>,
}Fields§
§header: Ethernet2Header§payload: Vec<u8>Trait Implementations§
Source§impl TryFromCtx<'_> for OwnedEthernet2Frame
impl TryFromCtx<'_> for OwnedEthernet2Frame
Auto Trait Implementations§
impl Freeze for OwnedEthernet2Frame
impl RefUnwindSafe for OwnedEthernet2Frame
impl Send for OwnedEthernet2Frame
impl Sync for OwnedEthernet2Frame
impl Unpin for OwnedEthernet2Frame
impl UnwindSafe for OwnedEthernet2Frame
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