pub enum DispatchRx<F, T> {
Dispatch(Dispatched<T>),
NotRegistered(F),
}Expand description
Value returned by dispatch_rx.
Variants§
Dispatch(Dispatched<T>)
NotRegistered(F)
Implementations§
Source§impl<F, T> DispatchRx<F, T>
impl<F, T> DispatchRx<F, T>
Sourcepub fn unwrap(self) -> Dispatched<T> ⓘ
pub fn unwrap(self) -> Dispatched<T> ⓘ
Auto Trait Implementations§
impl<F, T> Freeze for DispatchRx<F, T>where
F: Freeze,
impl<F, T> !RefUnwindSafe for DispatchRx<F, T>
impl<F, T> Send for DispatchRx<F, T>
impl<F, T> Sync for DispatchRx<F, T>
impl<F, T> Unpin for DispatchRx<F, T>where
F: Unpin,
impl<F, T> !UnwindSafe for DispatchRx<F, T>
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