pub struct Disposal<'or, T, E>(/* private fields */);Trait Implementations§
Source§impl<'or, T, E> Disposable for Disposal<'or, T, E>
impl<'or, T, E> Disposable for Disposal<'or, T, E>
Source§impl<'or, T, E> From<OptionDisposal<MulticastDisposal<'or, T, E, ()>>> for Disposal<'or, T, E>
impl<'or, T, E> From<OptionDisposal<MulticastDisposal<'or, T, E, ()>>> for Disposal<'or, T, E>
Source§fn from(value: OptionDisposal<MulticastDisposal<'or, T, E, ()>>) -> Self
fn from(value: OptionDisposal<MulticastDisposal<'or, T, E, ()>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'or, T, E> Freeze for Disposal<'or, T, E>
impl<'or, T, E> RefUnwindSafe for Disposal<'or, T, E>
impl<'or, T, E> Send for Disposal<'or, T, E>
impl<'or, T, E> Sync for Disposal<'or, T, E>
impl<'or, T, E> Unpin for Disposal<'or, T, E>
impl<'or, T, E> UnsafeUnpin for Disposal<'or, T, E>
impl<'or, T, E> UnwindSafe for Disposal<'or, T, E>
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.