Struct opendal::layers::TracingLayer
source · [−]pub struct TracingLayer;
Expand description
TracingLayer will add tracing for OpenDAL.
Examples
use anyhow::Result;
use opendal::layers::TracingLayer;
use opendal::Operator;
use opendal::Scheme;
let _ = Operator::from_env(Scheme::Fs)
.expect("must init")
.layer(TracingLayer);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TracingLayer
impl Send for TracingLayer
impl Sync for TracingLayer
impl Unpin for TracingLayer
impl UnwindSafe for TracingLayer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more