pub enum StartRecommendedErrorType {
Deserializing,
Request,
}👎Deprecated since 0.17.2
Available on crate feature
twilight-http only.Expand description
Type of StartRecommendedError that occurred.
Variants§
Deserializing
👎Deprecated since 0.17.2
Received gateway event failed to be deserialized.
The message payload is likely an unrecognized type that is not yet supported.
Request
👎Deprecated since 0.17.2
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 UnsafeUnpin 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