pub type RemoveDeviceResultWithContext<S, C> = RemoveDeviceResult<S, <C as ReferenceNotifiers>::ReferenceReceiver<S>>;
Expand description

An alias for RemoveDeviceResult that extracts the receiver type from the NonSyncContext.

Aliased Type§

enum RemoveDeviceResultWithContext<S, C> {
    Deferred(<C as ReferenceNotifiers>::ReferenceReceiver<S>),




The device was synchronously removed and no more references to it exist.


Deferred(<C as ReferenceNotifiers>::ReferenceReceiver<S>)

The device was marked for destruction but there are still references to it in existence. The provided receiver can be polled on to observe device destruction completion.