Enum port_check::Ports
source · pub enum Ports<R: RangeBounds<u16> + Iterator<Item = u16>> {
Ipv4(R),
Ipv6(R),
}
Expand description
Represents a port range for an IP address
Variants§
Ipv4(R)
Represents a port range for an IPv4 address
Ipv6(R)
Represents a port range for an IPv6 address
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Ports<R>where
R: Freeze,
impl<R> RefUnwindSafe for Ports<R>where
R: RefUnwindSafe,
impl<R> Send for Ports<R>where
R: Send,
impl<R> Sync for Ports<R>where
R: Sync,
impl<R> Unpin for Ports<R>where
R: Unpin,
impl<R> UnwindSafe for Ports<R>where
R: UnwindSafe,
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