pub enum MessageSetItem<MS>where
MS: MessageSet,{
Async(<MS as MessageVariantSet>::AsyncVariant),
Sync(<MS as MessageVariantSet>::SyncVariant),
AsyncConcurrent(<MS as MessageVariantSet>::AsyncConcurrentVariant),
SyncConcurrent(<MS as MessageVariantSet>::SyncConcurrentVariant),
}
Variants§
Async(<MS as MessageVariantSet>::AsyncVariant)
Sync(<MS as MessageVariantSet>::SyncVariant)
AsyncConcurrent(<MS as MessageVariantSet>::AsyncConcurrentVariant)
SyncConcurrent(<MS as MessageVariantSet>::SyncConcurrentVariant)
Auto Trait Implementations§
impl<MS> Freeze for MessageSetItem<MS>where
<MS as MessageVariantSet>::AsyncVariant: Freeze,
<MS as MessageVariantSet>::SyncVariant: Freeze,
<MS as MessageVariantSet>::AsyncConcurrentVariant: Freeze,
<MS as MessageVariantSet>::SyncConcurrentVariant: Freeze,
impl<MS> RefUnwindSafe for MessageSetItem<MS>where
<MS as MessageVariantSet>::AsyncVariant: RefUnwindSafe,
<MS as MessageVariantSet>::SyncVariant: RefUnwindSafe,
<MS as MessageVariantSet>::AsyncConcurrentVariant: RefUnwindSafe,
<MS as MessageVariantSet>::SyncConcurrentVariant: RefUnwindSafe,
impl<MS> Send for MessageSetItem<MS>
impl<MS> Sync for MessageSetItem<MS>where
<MS as MessageVariantSet>::AsyncVariant: Sync,
<MS as MessageVariantSet>::SyncVariant: Sync,
<MS as MessageVariantSet>::AsyncConcurrentVariant: Sync,
<MS as MessageVariantSet>::SyncConcurrentVariant: Sync,
impl<MS> Unpin for MessageSetItem<MS>where
<MS as MessageVariantSet>::AsyncVariant: Unpin,
<MS as MessageVariantSet>::SyncVariant: Unpin,
<MS as MessageVariantSet>::AsyncConcurrentVariant: Unpin,
<MS as MessageVariantSet>::SyncConcurrentVariant: Unpin,
impl<MS> UnwindSafe for MessageSetItem<MS>where
<MS as MessageVariantSet>::AsyncVariant: UnwindSafe,
<MS as MessageVariantSet>::SyncVariant: UnwindSafe,
<MS as MessageVariantSet>::AsyncConcurrentVariant: UnwindSafe,
<MS as MessageVariantSet>::SyncConcurrentVariant: UnwindSafe,
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