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