pub enum YamlError {
Utf8(Utf8Error),
Io(String),
UnexpectedEof,
NonDecodable(Option<Utf8Error>),
}
Variants§
Utf8(Utf8Error)
Io(String)
UnexpectedEof
NonDecodable(Option<Utf8Error>)
Input decoding error. If encoding
feature is disabled, contains None
,
otherwise contains the UTF-8 decoding error
Trait Implementations§
impl Eq for YamlError
impl StructuralPartialEq for YamlError
Auto Trait Implementations§
impl Freeze for YamlError
impl RefUnwindSafe for YamlError
impl Send for YamlError
impl Sync for YamlError
impl Unpin for YamlError
impl UnwindSafe for YamlError
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