pub struct AsyncMode;Expand description
Marker type that selects async struct dispatch for IntoHandler.
Used as the Mode type parameter when a struct implementing
EventHandler<E> is passed to a subscribe_* method.
Trait Implementations§
Source§impl IntoSubscriptionPolicy<AsyncMode> for SubscriptionPolicy
impl IntoSubscriptionPolicy<AsyncMode> for SubscriptionPolicy
Source§fn into_subscription_policy(self) -> SubscriptionPolicy
fn into_subscription_policy(self) -> SubscriptionPolicy
Convert into the internal
SubscriptionPolicy representation.Source§impl IntoSubscriptionPolicy<AsyncMode> for SyncSubscriptionPolicy
impl IntoSubscriptionPolicy<AsyncMode> for SyncSubscriptionPolicy
Source§fn into_subscription_policy(self) -> SubscriptionPolicy
fn into_subscription_policy(self) -> SubscriptionPolicy
Convert into the internal
SubscriptionPolicy representation.impl<E, H> IntoHandler<E, AsyncMode> for H
Auto Trait Implementations§
impl Freeze for AsyncMode
impl RefUnwindSafe for AsyncMode
impl Send for AsyncMode
impl Sync for AsyncMode
impl Unpin for AsyncMode
impl UnsafeUnpin for AsyncMode
impl UnwindSafe for AsyncMode
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