Enum png::encoder::FormatErrorKind
source · enum FormatErrorKind {
Show 13 variants
ZeroWidth,
ZeroHeight,
InvalidColorCombination(BitDepth, ColorType),
NoPalette,
WrittenTooMuch(usize),
NotAnimated,
OutOfBounds,
EndReached,
ZeroFrames,
MissingFrames,
MissingData(usize),
Unrecoverable,
BadTextEncoding(TextEncodingError),
}
Variants§
ZeroWidth
ZeroHeight
InvalidColorCombination(BitDepth, ColorType)
NoPalette
WrittenTooMuch(usize)
NotAnimated
OutOfBounds
EndReached
ZeroFrames
MissingFrames
MissingData(usize)
Unrecoverable
BadTextEncoding(TextEncodingError)
Trait Implementations§
source§impl Debug for FormatErrorKind
impl Debug for FormatErrorKind
source§impl From<FormatErrorKind> for FormatError
impl From<FormatErrorKind> for FormatError
source§fn from(kind: FormatErrorKind) -> Self
fn from(kind: FormatErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FormatErrorKind
impl RefUnwindSafe for FormatErrorKind
impl Send for FormatErrorKind
impl Sync for FormatErrorKind
impl Unpin for FormatErrorKind
impl UnwindSafe for FormatErrorKind
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