pub struct Noop;
Expand description
No-op middleware implementation
Trait Implementations§
Source§impl<M: Metadata> Middleware<M> for Noop
impl<M: Metadata> Middleware<M> for Noop
Source§type Future = Pin<Box<dyn Future<Output = Option<Response>> + Send>>
type Future = Pin<Box<dyn Future<Output = Option<Response>> + Send>>
A returned request future.
Source§type CallFuture = Pin<Box<dyn Future<Output = Option<Output>> + Send>>
type CallFuture = Pin<Box<dyn Future<Output = Option<Output>> + Send>>
A returned call future.
Auto Trait Implementations§
impl Freeze for Noop
impl RefUnwindSafe for Noop
impl Send for Noop
impl Sync for Noop
impl Unpin for Noop
impl UnwindSafe for Noop
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