#[repr(u8)]pub enum Port2Range {
Range0 = 0,
Range1 = 1,
}Variants§
Implementations§
Source§impl Port2Range
impl Port2Range
Trait Implementations§
Source§impl Clone for Port2Range
impl Clone for Port2Range
Source§fn clone(&self) -> Port2Range
fn clone(&self) -> Port2Range
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 Port2Range
impl Debug for Port2Range
Source§impl From<Port2Range> for u8
impl From<Port2Range> for u8
Source§fn from(val: Port2Range) -> u8
fn from(val: Port2Range) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Port2Range
impl From<u8> for Port2Range
Source§fn from(val: u8) -> Port2Range
fn from(val: u8) -> Port2Range
Converts to this type from the input type.
Source§impl Ord for Port2Range
impl Ord for Port2Range
Source§fn cmp(&self, other: &Port2Range) -> Ordering
fn cmp(&self, other: &Port2Range) -> 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 Port2Range
impl PartialEq for Port2Range
Source§impl PartialOrd for Port2Range
impl PartialOrd for Port2Range
impl Copy for Port2Range
impl Eq for Port2Range
impl StructuralPartialEq for Port2Range
Auto Trait Implementations§
impl Freeze for Port2Range
impl RefUnwindSafe for Port2Range
impl Send for Port2Range
impl Sync for Port2Range
impl Unpin for Port2Range
impl UnwindSafe for Port2Range
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