Enum discord_sdk::DiscordMsg
source · pub enum DiscordMsg {
Event(Event),
Error(Error),
}
Expand description
An event or error sent from Discord
Variants§
Trait Implementations§
Auto Trait Implementations§
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