Struct twilight_gateway::stream::StartRecommendedError
source · pub struct StartRecommendedError { /* private fields */ }
Available on crate feature
twilight-http
only.Expand description
Failure when fetching the recommended number of shards to use from Discord’s REST API.
Trait Implementations§
source§impl Debug for StartRecommendedError
impl Debug for StartRecommendedError
source§impl Display for StartRecommendedError
impl Display for StartRecommendedError
source§impl Error for StartRecommendedError
impl Error for StartRecommendedError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for StartRecommendedError
impl Send for StartRecommendedError
impl Sync for StartRecommendedError
impl Unpin for StartRecommendedError
impl !UnwindSafe for StartRecommendedError
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