pub enum FlowSpecPrefix {
V4(Ipv4Prefix),
V6(Ipv6PrefixOffset),
}Expand description
Prefix value for FlowSpec destination/source components.
Variants§
Trait Implementations§
Source§impl Clone for FlowSpecPrefix
impl Clone for FlowSpecPrefix
Source§fn clone(&self) -> FlowSpecPrefix
fn clone(&self) -> FlowSpecPrefix
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 FlowSpecPrefix
impl Debug for FlowSpecPrefix
Source§impl Hash for FlowSpecPrefix
impl Hash for FlowSpecPrefix
Source§impl Ord for FlowSpecPrefix
impl Ord for FlowSpecPrefix
Source§fn cmp(&self, other: &FlowSpecPrefix) -> Ordering
fn cmp(&self, other: &FlowSpecPrefix) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FlowSpecPrefix
impl PartialEq for FlowSpecPrefix
Source§impl PartialOrd for FlowSpecPrefix
impl PartialOrd for FlowSpecPrefix
impl Eq for FlowSpecPrefix
impl StructuralPartialEq for FlowSpecPrefix
Auto Trait Implementations§
impl Freeze for FlowSpecPrefix
impl RefUnwindSafe for FlowSpecPrefix
impl Send for FlowSpecPrefix
impl Sync for FlowSpecPrefix
impl Unpin for FlowSpecPrefix
impl UnsafeUnpin for FlowSpecPrefix
impl UnwindSafe for FlowSpecPrefix
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