Enum nitrokey::LogLevel [−][src]
Log level for libnitrokey.
Setting the log level to a lower level enables all output from higher levels too. Currently,
only the log levels Warning
, DebugL1
, Debug
and DebugL2
are actually used.
Variants
Error messages. Currently not used.
Warning messages.
Informational messages. Currently not used.
Basic debug messages, especially basic information on the sent and received packets.
Detailed debug messages, especially detailed information on the sent and received packets.
Very detailed debug messages, especially detailed information about the control flow for device communication (for example function entries and exits).
Trait Implementations
impl Clone for LogLevel
[src]
impl Copy for LogLevel
[src]
impl Debug for LogLevel
[src]
impl PartialEq<LogLevel> for LogLevel
[src]
fn eq(&self, other: &LogLevel) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for LogLevel
[src]
Auto Trait Implementations
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,