pub struct ObservabilityLayer { /* private fields */ }Expand description
Cloneable Tower layer that installs correlation and terminal access logs.
Implementations§
Source§impl ObservabilityLayer
impl ObservabilityLayer
Sourcepub const fn new(config: ObservabilityConfig) -> Self
pub const fn new(config: ObservabilityConfig) -> Self
Creates a layer from an explicit configuration.
Trait Implementations§
Source§impl Clone for ObservabilityLayer
impl Clone for ObservabilityLayer
Source§impl Debug for ObservabilityLayer
impl Debug for ObservabilityLayer
Source§impl Default for ObservabilityLayer
impl Default for ObservabilityLayer
Auto Trait Implementations§
impl !Freeze for ObservabilityLayer
impl !RefUnwindSafe for ObservabilityLayer
impl !UnwindSafe for ObservabilityLayer
impl Send for ObservabilityLayer
impl Sync for ObservabilityLayer
impl Unpin for ObservabilityLayer
impl UnsafeUnpin for ObservabilityLayer
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