pub enum DiscordMsg {
Event(Event),
Error(Error),
}
Expand description
An event or error sent from Discord
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiscordMsg
impl !RefUnwindSafe for DiscordMsg
impl Send for DiscordMsg
impl Sync for DiscordMsg
impl Unpin for DiscordMsg
impl !UnwindSafe for DiscordMsg
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