Enum nix_compat::nix_daemon::worker_protocol::Verbosity
source · #[repr(u64)]pub enum Verbosity {
LvlError = 0,
LvlWarn = 1,
LvlNotice = 2,
LvlInfo = 3,
LvlTalkative = 4,
LvlChatty = 5,
LvlDebug = 6,
LvlVomit = 7,
}
Expand description
Log verbosity. In the Nix wire protocol, the client requests a verbosity level to the daemon, which in turns does not produce any log below this verbosity.
Variants§
LvlError = 0
LvlWarn = 1
LvlNotice = 2
LvlInfo = 3
LvlTalkative = 4
LvlChatty = 5
LvlDebug = 6
LvlVomit = 7
Trait Implementations§
source§impl FromPrimitive for Verbosity
impl FromPrimitive for Verbosity
source§impl NixDeserialize for Verbosity
impl NixDeserialize for Verbosity
source§fn try_deserialize<R>(
reader: &mut R,
) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
fn try_deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
Read a value from the reader.
This returns an Option to support gracefull shutdown.
fn deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Self, R::Error>> + Send + '_
source§impl NixSerialize for Verbosity
impl NixSerialize for Verbosity
impl StructuralPartialEq for Verbosity
Auto Trait Implementations§
impl Freeze for Verbosity
impl RefUnwindSafe for Verbosity
impl Send for Verbosity
impl Sync for Verbosity
impl Unpin for Verbosity
impl UnwindSafe for Verbosity
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§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
)