pub struct NoopReadinessGate;Expand description
No-op readiness gate — all calls are no-ops, never blocks.
Trait Implementations§
Source§impl ReadinessGate for NoopReadinessGate
impl ReadinessGate for NoopReadinessGate
fn notify_ready<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn notify_not_ready<'life0, 'life1, 'async_trait>(
&'life0 self,
_reason: &'life1 str,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn notify_starting<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for NoopReadinessGate
impl RefUnwindSafe for NoopReadinessGate
impl Send for NoopReadinessGate
impl Sync for NoopReadinessGate
impl Unpin for NoopReadinessGate
impl UnsafeUnpin for NoopReadinessGate
impl UnwindSafe for NoopReadinessGate
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