Struct twilight_http::request::channel::stage::update_stage_instance::UpdateStageInstanceError [−][src]
pub struct UpdateStageInstanceError { /* fields omitted */ }
Expand description
The request can not be created as configured.
Implementations
impl UpdateStageInstanceError
[src]
impl UpdateStageInstanceError
[src]#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &UpdateStageInstanceErrorType
[src]
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &UpdateStageInstanceErrorType
[src]Immutable reference to the type of error that occurred.
#[must_use = "consuming the error and retrieving the source has no effect if left unused"]pub fn into_source(self) -> Option<Box<dyn Error + Send + Sync>>
[src]
#[must_use = "consuming the error and retrieving the source has no effect if left unused"]pub fn into_source(self) -> Option<Box<dyn Error + Send + Sync>>
[src]Consume the error, returning the source error if there is any.
#[must_use = "consuming the error into its parts has no effect if left unused"]pub fn into_parts(
self
) -> (UpdateStageInstanceErrorType, Option<Box<dyn Error + Send + Sync>>)
[src]
#[must_use = "consuming the error into its parts has no effect if left unused"]pub fn into_parts(
self
) -> (UpdateStageInstanceErrorType, Option<Box<dyn Error + Send + Sync>>)
[src]Consume the error, returning the owned error type and the source error.
Trait Implementations
impl Debug for UpdateStageInstanceError
[src]
impl Debug for UpdateStageInstanceError
[src]impl Display for UpdateStageInstanceError
[src]
impl Display for UpdateStageInstanceError
[src]impl Error for UpdateStageInstanceError
[src]
impl Error for UpdateStageInstanceError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for UpdateStageInstanceError
impl Send for UpdateStageInstanceError
impl Sync for UpdateStageInstanceError
impl Unpin for UpdateStageInstanceError
impl !UnwindSafe for UpdateStageInstanceError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,