pub struct AsyncFnMode;Expand description
Marker type that selects async function dispatch for IntoHandler.
Used as the Mode type parameter when a plain async fn(E) -> HandlerResult
function pointer or closure is passed to a subscribe_* method.
Trait Implementations§
impl<E, F, Fut> IntoHandler<E, AsyncFnMode> for F
Auto Trait Implementations§
impl Freeze for AsyncFnMode
impl RefUnwindSafe for AsyncFnMode
impl Send for AsyncFnMode
impl Sync for AsyncFnMode
impl Unpin for AsyncFnMode
impl UnsafeUnpin for AsyncFnMode
impl UnwindSafe for AsyncFnMode
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