pub struct Disposal<SD, D>(/* private fields */)
where
SD: Disposable,
D: Disposable;Trait Implementations§
Source§impl<SD, D> Disposable for Disposal<SD, D>where
ChainDisposal<SD, SharedDisposal<Subscription<D>>>: Disposable,
SD: Disposable,
D: Disposable,
impl<SD, D> Disposable for Disposal<SD, D>where
ChainDisposal<SD, SharedDisposal<Subscription<D>>>: Disposable,
SD: Disposable,
D: Disposable,
Source§fn from(value: ChainDisposal<SD, SharedDisposal<Subscription<D>>>) -> Self
fn from(value: ChainDisposal<SD, SharedDisposal<Subscription<D>>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<SD, D> Freeze for Disposal<SD, D>
impl<SD, D> RefUnwindSafe for Disposal<SD, D>
impl<SD, D> Send for Disposal<SD, D>
impl<SD, D> Sync for Disposal<SD, D>
impl<SD, D> Unpin for Disposal<SD, D>
impl<SD, D> UnsafeUnpin for Disposal<SD, D>
impl<SD, D> UnwindSafe for Disposal<SD, D>
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.