pub enum CancelOnDrop {
IgnoreError,
PanicOnError,
}
Expand description
Cancel-on-drop error handling policy (see FutureWrapper::new
).
Variants§
Trait Implementations§
Source§impl Clone for CancelOnDrop
impl Clone for CancelOnDrop
Source§fn clone(&self) -> CancelOnDrop
fn clone(&self) -> CancelOnDrop
Returns a duplicate 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 moreSource§impl Debug for CancelOnDrop
impl Debug for CancelOnDrop
impl Copy for CancelOnDrop
Auto Trait Implementations§
impl Freeze for CancelOnDrop
impl RefUnwindSafe for CancelOnDrop
impl Send for CancelOnDrop
impl Sync for CancelOnDrop
impl Unpin for CancelOnDrop
impl UnwindSafe for CancelOnDrop
Blanket Implementations§
Source§impl<T> AllowThreadsExt for T
impl<T> AllowThreadsExt for T
fn allow_threads(self) -> AllowThreads<Self> ⓘ
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