Enum tun2proxy::ArgVerbosity
source · #[repr(C)]pub enum ArgVerbosity {
Off = 0,
Error = 1,
Warn = 2,
Info = 3,
Debug = 4,
Trace = 5,
}Variants§
Trait Implementations§
source§impl Clone for ArgVerbosity
impl Clone for ArgVerbosity
source§fn clone(&self) -> ArgVerbosity
fn clone(&self) -> ArgVerbosity
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 ArgVerbosity
impl Debug for ArgVerbosity
source§impl Default for ArgVerbosity
impl Default for ArgVerbosity
source§fn default() -> ArgVerbosity
fn default() -> ArgVerbosity
Returns the “default value” for a type. Read more
source§impl Display for ArgVerbosity
impl Display for ArgVerbosity
source§impl From<ArgVerbosity> for LevelFilter
impl From<ArgVerbosity> for LevelFilter
source§fn from(verbosity: ArgVerbosity) -> Self
fn from(verbosity: ArgVerbosity) -> Self
Converts to this type from the input type.
source§impl From<Level> for ArgVerbosity
impl From<Level> for ArgVerbosity
source§impl Ord for ArgVerbosity
impl Ord for ArgVerbosity
source§fn cmp(&self, other: &ArgVerbosity) -> Ordering
fn cmp(&self, other: &ArgVerbosity) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ArgVerbosity
impl PartialEq for ArgVerbosity
source§fn eq(&self, other: &ArgVerbosity) -> bool
fn eq(&self, other: &ArgVerbosity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ArgVerbosity
impl PartialOrd for ArgVerbosity
source§fn partial_cmp(&self, other: &ArgVerbosity) -> Option<Ordering>
fn partial_cmp(&self, other: &ArgVerbosity) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl ValueEnum for ArgVerbosity
impl ValueEnum for ArgVerbosity
impl Copy for ArgVerbosity
impl Eq for ArgVerbosity
impl StructuralPartialEq for ArgVerbosity
Auto Trait Implementations§
impl Freeze for ArgVerbosity
impl RefUnwindSafe for ArgVerbosity
impl Send for ArgVerbosity
impl Sync for ArgVerbosity
impl Unpin for ArgVerbosity
impl UnwindSafe for ArgVerbosity
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)