pub enum EncodeError {
Encode(String),
}
Expand description
Represents an error encountered while encoding
a Vec<RGBA>
into Vec<u8>
.
Variants§
Trait Implementations§
Source§impl Debug for EncodeError
impl Debug for EncodeError
Source§impl<'a> From<&'a str> for EncodeError
impl<'a> From<&'a str> for EncodeError
Source§fn from(err: &'a str) -> EncodeError
fn from(err: &'a str) -> EncodeError
Converts to this type from the input type.
Source§impl From<String> for EncodeError
impl From<String> for EncodeError
Source§fn from(err: String) -> EncodeError
fn from(err: String) -> EncodeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncodeError
impl RefUnwindSafe for EncodeError
impl Send for EncodeError
impl Sync for EncodeError
impl Unpin for EncodeError
impl UnwindSafe for EncodeError
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