pub enum NetkitPolicy {
Forward = 0,
Blackhole = 2,
}Available on crate feature
rt-link only.Expand description
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Implementations§
Source§impl NetkitPolicy
impl NetkitPolicy
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for NetkitPolicy
impl Clone for NetkitPolicy
Source§fn clone(&self) -> NetkitPolicy
fn clone(&self) -> NetkitPolicy
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 NetkitPolicy
impl Debug for NetkitPolicy
impl Copy for NetkitPolicy
Auto Trait Implementations§
impl Freeze for NetkitPolicy
impl RefUnwindSafe for NetkitPolicy
impl Send for NetkitPolicy
impl Sync for NetkitPolicy
impl Unpin for NetkitPolicy
impl UnwindSafe for NetkitPolicy
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