pub struct YamlError {
pub reason: String,
pub line: usize,
}Expand description
a document the reader refuses: <reason> at line L
Fields§
§reason: Stringwhat was refused
line: usizethe line it was found on (from 1)
Implementations§
Trait Implementations§
impl StructuralPartialEq for YamlError
Auto Trait Implementations§
impl Forget for YamlError
impl Freeze for YamlError
impl Move for YamlError
impl RefUnwindSafe for YamlError
impl Send for YamlError
impl Sync for YamlError
impl Unpin for YamlError
impl UnsafeUnpin 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