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