pub struct AWDLDataFrame<P> {
pub sequence_number: u16,
pub ether_type: EtherType,
pub payload: P,
}Fields§
§sequence_number: u16§ether_type: EtherType§payload: PTrait Implementations§
Source§impl<P: Clone> Clone for AWDLDataFrame<P>
impl<P: Clone> Clone for AWDLDataFrame<P>
Source§fn clone(&self) -> AWDLDataFrame<P>
fn clone(&self) -> AWDLDataFrame<P>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<P: Debug> Debug for AWDLDataFrame<P>
impl<P: Debug> Debug for AWDLDataFrame<P>
Source§impl<P: MeasureWith<()>> MeasureWith<()> for AWDLDataFrame<P>
impl<P: MeasureWith<()>> MeasureWith<()> for AWDLDataFrame<P>
Source§fn measure_with(&self, ctx: &()) -> usize
fn measure_with(&self, ctx: &()) -> usize
How large is
Self, given the ctx?Source§impl<P: PartialEq> PartialEq for AWDLDataFrame<P>
impl<P: PartialEq> PartialEq for AWDLDataFrame<P>
Source§impl<'a> TryFromCtx<'a> for AWDLDataFrame<&'a [u8]>
impl<'a> TryFromCtx<'a> for AWDLDataFrame<&'a [u8]>
Source§impl<P: TryIntoCtx<Error = Error>> TryIntoCtx for AWDLDataFrame<P>
impl<P: TryIntoCtx<Error = Error>> TryIntoCtx for AWDLDataFrame<P>
impl<P: Copy> Copy for AWDLDataFrame<P>
impl<P: Eq> Eq for AWDLDataFrame<P>
impl<P> StructuralPartialEq for AWDLDataFrame<P>
Auto Trait Implementations§
impl<P> Freeze for AWDLDataFrame<P>where
P: Freeze,
impl<P> RefUnwindSafe for AWDLDataFrame<P>where
P: RefUnwindSafe,
impl<P> Send for AWDLDataFrame<P>where
P: Send,
impl<P> Sync for AWDLDataFrame<P>where
P: Sync,
impl<P> Unpin for AWDLDataFrame<P>where
P: Unpin,
impl<P> UnwindSafe for AWDLDataFrame<P>where
P: UnwindSafe,
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