pub struct Disposal<D>(/* private fields */)
where
D: Disposable;Trait Implementations§
Source§impl<D> Disposable for Disposal<D>where
AmbDisposal<D>: Disposable,
D: Disposable,
impl<D> Disposable for Disposal<D>where
AmbDisposal<D>: Disposable,
D: Disposable,
Auto Trait Implementations§
impl<D> Freeze for Disposal<D>where
AmbDisposal<D>: Freeze,
impl<D> RefUnwindSafe for Disposal<D>where
AmbDisposal<D>: RefUnwindSafe,
impl<D> Send for Disposal<D>where
AmbDisposal<D>: Send,
impl<D> Sync for Disposal<D>where
AmbDisposal<D>: Sync,
impl<D> Unpin for Disposal<D>where
AmbDisposal<D>: Unpin,
impl<D> UnsafeUnpin for Disposal<D>where
AmbDisposal<D>: UnsafeUnpin,
impl<D> UnwindSafe for Disposal<D>where
AmbDisposal<D>: UnwindSafe,
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
Source§impl<D> DisposableExt for Dwhere
D: Disposable,
impl<D> DisposableExt for Dwhere
D: Disposable,
fn into_boxed<'dis>(self) -> BoxedDisposal<'dis>where
Self: MaybeSend + 'dis,
Source§fn into_subscription<D>(self) -> Subscription<D>where
D: Disposable + From<Self>,
fn into_subscription<D>(self) -> Subscription<D>where
D: Disposable + From<Self>,
Converts this disposal into a subscription whose inner disposal is
created through
From.