#[non_exhaustive]pub enum LogPriority {
Debug,
Info,
Error,
}Available on crate feature
libinput only.Expand description
How much libinput should say before this is called at all.
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.
Debug
Everything, including per-event detail.
Info
Device add and remove, and configuration.
Error
Failures only. libinput’s own default, and this one.
Trait Implementations§
Source§impl Clone for LogPriority
impl Clone for LogPriority
impl Copy for LogPriority
Source§impl Debug for LogPriority
impl Debug for LogPriority
Source§impl Default for LogPriority
impl Default for LogPriority
impl Eq for LogPriority
Source§impl PartialEq for LogPriority
impl PartialEq for LogPriority
impl StructuralPartialEq for LogPriority
Auto Trait Implementations§
impl Freeze for LogPriority
impl RefUnwindSafe for LogPriority
impl Send for LogPriority
impl Sync for LogPriority
impl Unpin for LogPriority
impl UnsafeUnpin for LogPriority
impl UnwindSafe for LogPriority
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