pub enum StartRecommendedErrorType {
Deserializing,
Request,
}
Available on crate feature
twilight-http
only.Expand description
Type of StartRecommendedError
that occurred.
Variants§
Deserializing
Received gateway event failed to be deserialized.
The message payload is likely an unrecognized type that is not yet supported.
Request
Requesting recommended shards from Discord’s REST API failed.
May be due to something such as a network or authentication issue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StartRecommendedErrorType
impl RefUnwindSafe for StartRecommendedErrorType
impl Send for StartRecommendedErrorType
impl Sync for StartRecommendedErrorType
impl Unpin for StartRecommendedErrorType
impl UnwindSafe for StartRecommendedErrorType
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