pub struct Layer<R, G = fn(_: &R) -> Span>{ /* private fields */ }
Available on crate feature
tower-layer
only.Trait Implementations§
Auto Trait Implementations§
impl<R, G> Freeze for Layer<R, G>where
G: Freeze,
impl<R, G> RefUnwindSafe for Layer<R, G>where
G: RefUnwindSafe,
impl<R, G> Send for Layer<R, G>where
G: Send,
impl<R, G> Sync for Layer<R, G>where
G: Sync,
impl<R, G> Unpin for Layer<R, G>where
G: Unpin,
impl<R, G> UnwindSafe for Layer<R, G>where
G: UnwindSafe,
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