Struct twilight_http::request::guild::create_guild::VoiceFieldsError [−][src]
pub struct VoiceFieldsError { /* fields omitted */ }Expand description
Error building voice fields.
Implementations
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &VoiceFieldsErrorType[src]
#[must_use = "retrieving the type has no effect if left unused"]pub const fn kind(&self) -> &VoiceFieldsErrorType[src]Immutable reference to the type of error that occurred.
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
) -> (VoiceFieldsErrorType, 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
) -> (VoiceFieldsErrorType, Option<Box<dyn Error + Send + Sync>>)[src]Consume the error, returning the owned error type and the source error.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VoiceFieldsErrorimpl Send for VoiceFieldsErrorimpl Sync for VoiceFieldsErrorimpl Unpin for VoiceFieldsErrorimpl UnwindSafe for VoiceFieldsError