pub enum PortRange {
System,
Registered,
Dynamic,
}Expand description
Classifies a port into the standard IANA port ranges.
Variants§
System
Ports 0 through 1023.
Registered
Ports 1024 through 49151.
Dynamic
Ports 49152 through 65535.
Trait Implementations§
impl Copy for PortRange
impl Eq for PortRange
impl StructuralPartialEq for PortRange
Auto Trait Implementations§
impl Freeze for PortRange
impl RefUnwindSafe for PortRange
impl Send for PortRange
impl Sync for PortRange
impl Unpin for PortRange
impl UnsafeUnpin for PortRange
impl UnwindSafe for PortRange
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