Struct netstack3_core::filter::UninstalledRoutine
source · pub struct UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,{ /* private fields */ }
Expand description
A handle to a Routine
that is not installed in a particular hook, and
therefore is only run if jumped to from another routine.
Implementations§
source§impl<I, DeviceClass, RuleInfo> UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
impl<I, DeviceClass, RuleInfo> UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
Trait Implementations§
source§impl<I, DeviceClass, RuleInfo> Clone for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
impl<I, DeviceClass, RuleInfo> Clone for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
source§fn clone(&self) -> UninstalledRoutine<I, DeviceClass, RuleInfo>
fn clone(&self) -> UninstalledRoutine<I, DeviceClass, RuleInfo>
Returns a copy 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<I, DeviceClass, RuleInfo> Debug for UninstalledRoutine<I, DeviceClass, RuleInfo>
impl<I, DeviceClass, RuleInfo> Debug for UninstalledRoutine<I, DeviceClass, RuleInfo>
source§impl<I, DeviceClass, RuleInfo> Hash for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
impl<I, DeviceClass, RuleInfo> Hash for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
source§impl<I, DeviceClass> Inspectable for UninstalledRoutine<I, DeviceClass, ()>
impl<I, DeviceClass> Inspectable for UninstalledRoutine<I, DeviceClass, ()>
source§fn record<Inspector>(&self, inspector: &mut Inspector)where
Inspector: Inspector,
fn record<Inspector>(&self, inspector: &mut Inspector)where
Inspector: Inspector,
Records this value into
inspector
.source§impl<I, DeviceClass, RuleInfo> PartialEq for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
impl<I, DeviceClass, RuleInfo> PartialEq for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
source§fn eq(&self, other: &UninstalledRoutine<I, DeviceClass, RuleInfo>) -> bool
fn eq(&self, other: &UninstalledRoutine<I, DeviceClass, RuleInfo>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<I, DeviceClass, RuleInfo> Eq for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IpExt,
Auto Trait Implementations§
impl<I, DeviceClass, RuleInfo> Freeze for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + EthernetIpExt + 'static,
impl<I, DeviceClass, RuleInfo> RefUnwindSafe for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + EthernetIpExt + 'static,
RuleInfo: RefUnwindSafe,
<I as Ip>::Addr: RefUnwindSafe,
DeviceClass: RefUnwindSafe,
<I as IpProtoExt>::Proto: RefUnwindSafe,
impl<I, DeviceClass, RuleInfo> Send for UninstalledRoutine<I, DeviceClass, RuleInfo>
impl<I, DeviceClass, RuleInfo> Sync for UninstalledRoutine<I, DeviceClass, RuleInfo>
impl<I, DeviceClass, RuleInfo> Unpin for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + EthernetIpExt + 'static,
impl<I, DeviceClass, RuleInfo> UnwindSafe for UninstalledRoutine<I, DeviceClass, RuleInfo>where
I: IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + EthernetIpExt + 'static,
RuleInfo: RefUnwindSafe,
<I as Ip>::Addr: RefUnwindSafe,
DeviceClass: RefUnwindSafe,
<I as IpProtoExt>::Proto: RefUnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
Handle a timer firing.