Struct privsep_log::LoggerGuard [−][src]
pub struct LoggerGuard { /* fields omitted */ }
Expand description
Wrapper for the global logger guard.
Trait Implementations
impl Drop for LoggerGuard
[src]
impl Drop for LoggerGuard
[src]impl From<(Logger<Arc<dyn SendSyncRefUnwindSafeDrain<Err = NeverStruct, Ok = ()> + 'static>>, GlobalLoggerGuard)> for LoggerGuard
[src]
impl From<(Logger<Arc<dyn SendSyncRefUnwindSafeDrain<Err = NeverStruct, Ok = ()> + 'static>>, GlobalLoggerGuard)> for LoggerGuard
[src]fn from(original: (Logger, GlobalLoggerGuard)) -> LoggerGuard
[src]
fn from(original: (Logger, GlobalLoggerGuard)) -> LoggerGuard
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for LoggerGuard
impl Send for LoggerGuard
impl Sync for LoggerGuard
impl Unpin for LoggerGuard
impl UnwindSafe for LoggerGuard
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,