pub struct Logs { /* private fields */ }Implementations§
Source§impl Logs
impl Logs
pub fn new(format: &str) -> Result<Self, LogFormatError>
pub fn with_log_directives(self, log_directives: Option<String>) -> Self
pub fn install_panic_hook(&self)
pub fn into_layer<S>(self) -> impl Layer<S>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Logs
impl RefUnwindSafe for Logs
impl Send for Logs
impl Sync for Logs
impl Unpin for Logs
impl UnsafeUnpin for Logs
impl UnwindSafe for Logs
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