#[non_exhaustive]#[repr(u16)]pub enum HashReport {
None = 0,
Ipv4 = 1,
Tcpv4 = 2,
Udpv4 = 3,
IPv6 = 4,
Tcpv6 = 5,
Udpv6 = 6,
Ipv6Ex = 7,
Tcpv6Ex = 8,
Udpv6Ex = 9,
Unknown(u16),
}
Expand description
Hash Report
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None = 0
Ipv4 = 1
Tcpv4 = 2
Udpv4 = 3
IPv6 = 4
Tcpv6 = 5
Udpv6 = 6
Ipv6Ex = 7
Tcpv6Ex = 8
Udpv6Ex = 9
Unknown(u16)
Trait Implementations§
Source§impl Clone for HashReport
impl Clone for HashReport
Source§fn clone(&self) -> HashReport
fn clone(&self) -> HashReport
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 HashReport
impl Debug for HashReport
Source§impl From<HashReport> for u16
impl From<HashReport> for u16
Source§fn from(enum_value: HashReport) -> Self
fn from(enum_value: HashReport) -> Self
Converts to this type from the input type.
Source§impl From<u16> for HashReport
impl From<u16> for HashReport
Source§impl FromPrimitive for HashReport
impl FromPrimitive for HashReport
Source§impl PartialEq for HashReport
impl PartialEq for HashReport
impl Copy for HashReport
impl Eq for HashReport
impl StructuralPartialEq for HashReport
Auto Trait Implementations§
impl Freeze for HashReport
impl RefUnwindSafe for HashReport
impl Send for HashReport
impl Sync for HashReport
impl Unpin for HashReport
impl UnwindSafe for HashReport
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