pub enum HookPoint {
PreRouting,
Input,
Forward,
Output,
PostRouting,
}Expand description
Netfilter-style hook points in the packet processing path
Variants§
PreRouting
Before routing decision (inbound packets)
Input
Destined for the local host
Forward
Being forwarded to another interface
Output
Generated by the local host
PostRouting
After routing decision (outbound packets)
Trait Implementations§
impl Copy for HookPoint
impl Eq for HookPoint
impl StructuralPartialEq for HookPoint
Auto Trait Implementations§
impl Freeze for HookPoint
impl RefUnwindSafe for HookPoint
impl Send for HookPoint
impl Sync for HookPoint
impl Unpin for HookPoint
impl UnwindSafe for HookPoint
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)