Struct drain::ReleaseShutdown
source · pub struct ReleaseShutdown(/* private fields */);
Implementations§
source§impl ReleaseShutdown
impl ReleaseShutdown
sourcepub async fn release_after<F: Future>(self, future: F) -> F::Output
pub async fn release_after<F: Future>(self, future: F) -> F::Output
Releases shutdown after future
completes.
Trait Implementations§
source§impl Clone for ReleaseShutdown
impl Clone for ReleaseShutdown
source§fn clone(&self) -> ReleaseShutdown
fn clone(&self) -> ReleaseShutdown
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ReleaseShutdown
impl !RefUnwindSafe for ReleaseShutdown
impl Send for ReleaseShutdown
impl Sync for ReleaseShutdown
impl Unpin for ReleaseShutdown
impl !UnwindSafe for ReleaseShutdown
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