Enum netlink_packet_route::tc::TcActionType
source · #[non_exhaustive]pub enum TcActionType {
Unspec,
Ok,
Reclassify,
Shot,
Pipe,
Stolen,
Queued,
Repeat,
Redirect,
Trap,
Other(i32),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for TcActionType
impl Clone for TcActionType
source§fn clone(&self) -> TcActionType
fn clone(&self) -> TcActionType
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 Debug for TcActionType
impl Debug for TcActionType
source§impl Default for TcActionType
impl Default for TcActionType
source§fn default() -> TcActionType
fn default() -> TcActionType
Returns the “default value” for a type. Read more
source§impl From<TcActionType> for i32
impl From<TcActionType> for i32
source§fn from(v: TcActionType) -> i32
fn from(v: TcActionType) -> i32
Converts to this type from the input type.
source§impl From<i32> for TcActionType
impl From<i32> for TcActionType
source§impl PartialEq for TcActionType
impl PartialEq for TcActionType
source§fn eq(&self, other: &TcActionType) -> bool
fn eq(&self, other: &TcActionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TcActionType
impl Eq for TcActionType
impl StructuralEq for TcActionType
impl StructuralPartialEq for TcActionType
Auto Trait Implementations§
impl RefUnwindSafe for TcActionType
impl Send for TcActionType
impl Sync for TcActionType
impl Unpin for TcActionType
impl UnwindSafe for TcActionType
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