pub struct WireTapLayer { /* private fields */ }Expand description
A Tower layer that produces WireTapService instances.
Implementations§
Source§impl WireTapLayer
impl WireTapLayer
Sourcepub fn new(tap_endpoint: BoxProcessor) -> Self
pub fn new(tap_endpoint: BoxProcessor) -> Self
Create a new WireTapLayer with the given tap endpoint processor.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WireTapLayer
impl !RefUnwindSafe for WireTapLayer
impl Send for WireTapLayer
impl !Sync for WireTapLayer
impl Unpin for WireTapLayer
impl UnsafeUnpin for WireTapLayer
impl !UnwindSafe for WireTapLayer
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