#[non_exhaustive]pub enum ClientErrorType {
NodesUnconfigured,
SendingVoiceUpdate,
}
Expand description
Type of ClientError
that occurred.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NodesUnconfigured
A node isn’t configured, so the operation isn’t possible to fulfill.
SendingVoiceUpdate
Sending a voice update event to the node failed because the node’s connection was shutdown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientErrorType
impl RefUnwindSafe for ClientErrorType
impl Send for ClientErrorType
impl Sync for ClientErrorType
impl Unpin for ClientErrorType
impl UnwindSafe for ClientErrorType
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