pub enum DecodePaintError {
UnknownVersion(u32),
Malformed,
}Expand description
Why a document could not be decoded.
Variants§
UnknownVersion(u32)
A document version this build does not know.
Malformed
The document breaks a rule of section 10.1.
Trait Implementations§
Source§impl Clone for DecodePaintError
impl Clone for DecodePaintError
Source§impl Debug for DecodePaintError
impl Debug for DecodePaintError
Source§impl Display for DecodePaintError
impl Display for DecodePaintError
impl Eq for DecodePaintError
Source§impl Error for DecodePaintError
impl Error for DecodePaintError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DecodePaintError
impl PartialEq for DecodePaintError
impl StructuralPartialEq for DecodePaintError
Auto Trait Implementations§
impl Forget for DecodePaintError
impl Freeze for DecodePaintError
impl Move for DecodePaintError
impl RefUnwindSafe for DecodePaintError
impl Send for DecodePaintError
impl Sync for DecodePaintError
impl Unpin for DecodePaintError
impl UnsafeUnpin for DecodePaintError
impl UnwindSafe for DecodePaintError
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