pub struct EventDrivenMessageContainer;Expand description
Container to store event driven messages in the serenity context data
Trait Implementations§
Source§impl TypeMapKey for EventDrivenMessageContainer
impl TypeMapKey for EventDrivenMessageContainer
Source§type Value = Arc<DashMap<MessageHandle, Arc<Mutex<BoxedMessage>>>>
type Value = Arc<DashMap<MessageHandle, Arc<Mutex<BoxedMessage>>>>
Defines the value type that corresponds to this
TypeMapKey.Auto Trait Implementations§
impl Freeze for EventDrivenMessageContainer
impl RefUnwindSafe for EventDrivenMessageContainer
impl Send for EventDrivenMessageContainer
impl Sync for EventDrivenMessageContainer
impl Unpin for EventDrivenMessageContainer
impl UnwindSafe for EventDrivenMessageContainer
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