pub enum IpKind {
V4,
V6,
}Expand description
Whether a validated IP match is IPv4 or IPv6.
Known at zero cost from the DFA pattern ID — no parsing required.
Variants§
Trait Implementations§
impl Copy for IpKind
impl Eq for IpKind
impl StructuralPartialEq for IpKind
Auto Trait Implementations§
impl Freeze for IpKind
impl RefUnwindSafe for IpKind
impl Send for IpKind
impl Sync for IpKind
impl Unpin for IpKind
impl UnsafeUnpin for IpKind
impl UnwindSafe for IpKind
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