#[repr(u16)]pub enum FlowControlOpcode {
Pause = 1,
Unknown(u16),
}Expand description
Represents the opcode field in an Ethernet Flow Control packet.
Flow control opcodes are defined in IEEE 802.3x
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FlowControlOpcode
impl Clone for FlowControlOpcode
Source§fn clone(&self) -> FlowControlOpcode
fn clone(&self) -> FlowControlOpcode
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 Debug for FlowControlOpcode
impl Debug for FlowControlOpcode
Source§impl Display for FlowControlOpcode
impl Display for FlowControlOpcode
Source§impl Hash for FlowControlOpcode
impl Hash for FlowControlOpcode
Source§impl Ord for FlowControlOpcode
impl Ord for FlowControlOpcode
Source§fn cmp(&self, other: &FlowControlOpcode) -> Ordering
fn cmp(&self, other: &FlowControlOpcode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FlowControlOpcode
impl PartialEq for FlowControlOpcode
Source§impl PartialOrd for FlowControlOpcode
impl PartialOrd for FlowControlOpcode
impl Copy for FlowControlOpcode
impl Eq for FlowControlOpcode
impl StructuralPartialEq for FlowControlOpcode
Auto Trait Implementations§
impl Freeze for FlowControlOpcode
impl RefUnwindSafe for FlowControlOpcode
impl Send for FlowControlOpcode
impl Sync for FlowControlOpcode
impl Unpin for FlowControlOpcode
impl UnwindSafe for FlowControlOpcode
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