pub enum EtherProtocal {
Unknown(u16),
IPv4,
Arp,
VLanTaggedFrame,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EtherProtocal
impl Clone for EtherProtocal
Source§fn clone(&self) -> EtherProtocal
fn clone(&self) -> EtherProtocal
Returns a copy 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 Debug for EtherProtocal
impl Debug for EtherProtocal
Source§impl Default for EtherProtocal
impl Default for EtherProtocal
Source§impl PartialEq for EtherProtocal
impl PartialEq for EtherProtocal
Source§impl<'a> ReadDataUnchecked<'a> for EtherProtocal
impl<'a> ReadDataUnchecked<'a> for EtherProtocal
fn read_unchecked(reader: &mut impl UncheckedReader<'a>) -> Self
Source§impl WriteDataUnchecked for EtherProtocal
impl WriteDataUnchecked for EtherProtocal
fn write_to_unchecked(self, writer: &mut impl UncheckedWriter)
impl Copy for EtherProtocal
impl Eq for EtherProtocal
impl StructuralPartialEq for EtherProtocal
Auto Trait Implementations§
impl Freeze for EtherProtocal
impl RefUnwindSafe for EtherProtocal
impl Send for EtherProtocal
impl Sync for EtherProtocal
impl Unpin for EtherProtocal
impl UnwindSafe for EtherProtocal
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