pub struct EthernetFrame { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for EthernetFrame
impl Clone for EthernetFrame
Source§fn clone(&self) -> EthernetFrame
fn clone(&self) -> EthernetFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EthernetFrame
impl Debug for EthernetFrame
Source§impl Display for EthernetFrame
impl Display for EthernetFrame
Source§impl PartialEq for EthernetFrame
impl PartialEq for EthernetFrame
Source§fn eq(&self, other: &EthernetFrame) -> bool
fn eq(&self, other: &EthernetFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Routable for EthernetFrame
impl Routable for EthernetFrame
fn destination(&self) -> u64
fn access_type(&self) -> AccessType
Source§impl Routable for Box<EthernetFrame>
impl Routable for Box<EthernetFrame>
fn destination(&self) -> u64
fn access_type(&self) -> AccessType
impl SimObject for EthernetFrame
impl SimObject for Box<EthernetFrame>
Allow Box of any SimObject type to be used
impl StructuralPartialEq for EthernetFrame
Source§impl TotalBytes for EthernetFrame
impl TotalBytes for EthernetFrame
fn total_bytes(&self) -> usize
Source§impl TotalBytes for Box<EthernetFrame>
impl TotalBytes for Box<EthernetFrame>
fn total_bytes(&self) -> usize
Auto Trait Implementations§
impl Freeze for EthernetFrame
impl RefUnwindSafe for EthernetFrame
impl Send for EthernetFrame
impl Sync for EthernetFrame
impl Unpin for EthernetFrame
impl UnsafeUnpin for EthernetFrame
impl UnwindSafe for EthernetFrame
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