pub enum FlowDirection {
Forward,
Reverse,
}Expand description
Direction of a packet relative to the conversation’s canonical key.
Forward means the packet’s source matches addr_a (the smaller address).
Reverse means the packet’s source matches addr_b (the larger address).
Variants§
Trait Implementations§
Source§impl Clone for FlowDirection
impl Clone for FlowDirection
Source§fn clone(&self) -> FlowDirection
fn clone(&self) -> FlowDirection
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 FlowDirection
impl Debug for FlowDirection
Source§impl Hash for FlowDirection
impl Hash for FlowDirection
Source§impl PartialEq for FlowDirection
impl PartialEq for FlowDirection
impl Copy for FlowDirection
impl Eq for FlowDirection
impl StructuralPartialEq for FlowDirection
Auto Trait Implementations§
impl Freeze for FlowDirection
impl RefUnwindSafe for FlowDirection
impl Send for FlowDirection
impl Sync for FlowDirection
impl Unpin for FlowDirection
impl UnsafeUnpin for FlowDirection
impl UnwindSafe for FlowDirection
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