pub enum ProbeAction {
Pass,
Drop,
}Expand description
What a LinkInterceptor decides for a packet crossing a link.
Variants§
Pass
Forward the packet downstream as usual.
Drop
Drop the packet; it never reaches the downstream element.
Trait Implementations§
Source§impl Clone for ProbeAction
impl Clone for ProbeAction
Source§fn clone(&self) -> ProbeAction
fn clone(&self) -> ProbeAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProbeAction
Source§impl Debug for ProbeAction
impl Debug for ProbeAction
impl Eq for ProbeAction
Source§impl PartialEq for ProbeAction
impl PartialEq for ProbeAction
impl StructuralPartialEq for ProbeAction
Auto Trait Implementations§
impl Freeze for ProbeAction
impl RefUnwindSafe for ProbeAction
impl Send for ProbeAction
impl Sync for ProbeAction
impl Unpin for ProbeAction
impl UnsafeUnpin for ProbeAction
impl UnwindSafe for ProbeAction
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