#[non_exhaustive]pub enum TcpHeaderField {
Sport,
Dport,
}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.
Trait Implementations§
Source§impl Clone for TcpHeaderField
impl Clone for TcpHeaderField
Source§fn clone(&self) -> TcpHeaderField
fn clone(&self) -> TcpHeaderField
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 moreimpl Copy for TcpHeaderField
impl Eq for TcpHeaderField
Source§impl PartialEq for TcpHeaderField
impl PartialEq for TcpHeaderField
impl StructuralPartialEq for TcpHeaderField
Auto Trait Implementations§
impl Freeze for TcpHeaderField
impl RefUnwindSafe for TcpHeaderField
impl Send for TcpHeaderField
impl Sync for TcpHeaderField
impl Unpin for TcpHeaderField
impl UnsafeUnpin for TcpHeaderField
impl UnwindSafe for TcpHeaderField
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