Struct futures_util::future::AbortRegistration
source · [−]pub struct AbortRegistration { /* private fields */ }
Expand description
A registration handle for an Abortable
task.
Values of this type can be acquired from AbortHandle::new
and are used
in calls to Abortable::new
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AbortRegistration
impl Send for AbortRegistration
impl Sync for AbortRegistration
impl Unpin for AbortRegistration
impl !UnwindSafe for AbortRegistration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more