Disposable

Trait Disposable 

Source
pub trait Disposable {
    // Required method
    fn dispose(self);
}
Expand description

A trait that represents a disposable resource.

Required Methods§

Source

fn dispose(self)

Disposes of the resource.

Implementors§

Source§

impl Disposable for BoxedDisposal<'_>

Source§

impl Disposable for Subscription<'_>

Source§

impl Disposable for Shared<Mutable<AmbContext<'_>>>

Source§

impl Disposable for Shared<Mutable<MergeAllContext<'_>>>

Source§

impl Disposable for Shared<Mutable<State<'_>>>

Source§

impl Disposable for Shared<Mutable<SubState<'_>>>

Source§

impl Disposable for Shared<Mutable<SwitchContext<'_>>>

Source§

impl Disposable for Shared<Mutable<TimeoutContext>>

Source§

impl<D> Disposable for Shared<Mutable<Option<D>>>
where D: Disposable,

Source§

impl<F: FnOnce()> Disposable for CallbackDisposal<F>

Source§

impl<OE1> Disposable for Shared<Mutable<ConcatAllContext<'_, OE1>>>

Source§

impl<T> Disposable for BoundDropDisposal<T>
where T: Disposable,

Source§

impl<T> Disposable for Shared<Mutable<BufferWithTimeContext<T>>>

Source§

impl<T> Disposable for Shared<Mutable<BufferWithTimeOrCountContext<T>>>

Source§

impl<T> Disposable for Shared<Mutable<DebounceContext<T>>>

Source§

impl<T> Disposable for Shared<Mutable<DelayContext<T>>>

Source§

impl<T, E> Disposable for Shared<Mutable<ObserveOnContext<T, E>>>

Source§

impl<T, E> Disposable for Shared<Mutable<OnBackpressureContext<T, E>>>