#[non_exhaustive]#[repr(u32)]pub enum TcpPortType {
Any = 0,
Range = 1,
List = 2,
}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 TcpPortType
impl Clone for TcpPortType
impl Copy for TcpPortType
Source§impl Debug for TcpPortType
impl Debug for TcpPortType
impl Eq for TcpPortType
Source§impl Hash for TcpPortType
impl Hash for TcpPortType
Source§impl PartialEq for TcpPortType
impl PartialEq for TcpPortType
impl StructuralPartialEq for TcpPortType
Auto Trait Implementations§
impl Forget for TcpPortType
impl Freeze for TcpPortType
impl Move for TcpPortType
impl RefUnwindSafe for TcpPortType
impl Send for TcpPortType
impl Sync for TcpPortType
impl Unpin for TcpPortType
impl UnsafeUnpin for TcpPortType
impl UnwindSafe for TcpPortType
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