pub enum LoadError {
IO(Error),
Scan(ScanError),
Decode(Cow<'static, str>),
}
Expand description
An error that happened when loading a YAML document.
Variants§
IO(Error)
An I/O error.
Scan(ScanError)
An error within the scanner. This indicates a malformed YAML input.
Decode(Cow<'static, str>)
A decoding error (e.g.: Invalid UTF-8).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadError
impl !RefUnwindSafe for LoadError
impl Send for LoadError
impl Sync for LoadError
impl Unpin for LoadError
impl !UnwindSafe for LoadError
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