pub enum PortRange {
Any,
NoPorts,
PortSet([u16; 8]),
Range(u16, u16),
Port(u16),
}
Variants§
Implementations§
Trait Implementations§
impl Copy 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 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