pub enum LogLevel {
None,
Error,
Warning,
Info,
Debug,
}
Expand description
Library logging levels.
Variants§
None
No messages are printed by libusb
(default).
Error
Error messages printed to stderr
.
Warning
Warning and error messages are printed to stderr
.
Info
Informational messages are printed to stdout
. Warnings and error messages are printed to
stderr
.
Debug
Debug and informational messages are printed to stdout
. Warnings and error messages are
printed to stderr
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
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