#[non_exhaustive]#[repr(i32)]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
Source§fn clone(&self) -> TcpPortType
fn clone(&self) -> TcpPortType
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 TcpPortType
impl Debug for TcpPortType
Source§impl Hash for TcpPortType
impl Hash for TcpPortType
Source§impl PartialEq for TcpPortType
impl PartialEq for TcpPortType
impl Copy for TcpPortType
impl Eq for TcpPortType
impl StructuralPartialEq for TcpPortType
Auto Trait Implementations§
impl Freeze for TcpPortType
impl RefUnwindSafe for TcpPortType
impl Send for TcpPortType
impl Sync for TcpPortType
impl Unpin 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