Struct twilight_embed_builder::image_source::ImageSourceAttachmentError [−][src]
pub struct ImageSourceAttachmentError { /* fields omitted */ }Expand description
Error creating an embed field.
Implementations
Immutable reference to the type of error that occurred.
Consume the error, returning the source error if there is any.
pub fn into_parts(
self
) -> (ImageSourceAttachmentErrorType, Option<Box<dyn Error + Send + Sync>>)
pub fn into_parts(
self
) -> (ImageSourceAttachmentErrorType, Option<Box<dyn Error + Send + Sync>>)Consume the error, returning the owned error type and the source error.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageSourceAttachmentErrorimpl Send for ImageSourceAttachmentErrorimpl Sync for ImageSourceAttachmentErrorimpl Unpin for ImageSourceAttachmentErrorimpl UnwindSafe for ImageSourceAttachmentError