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 ImageSourceAttachmentError
impl Send for ImageSourceAttachmentError
impl Sync for ImageSourceAttachmentError
impl Unpin for ImageSourceAttachmentError
impl UnwindSafe for ImageSourceAttachmentError