pub enum YamlErrorKind {
Eof,
InvalidIndentation,
UnexpectedToken,
InvalidMappingKey,
InvalidScalar,
UnsupportedFeature,
MaxDepthExceeded,
MaxScalarLengthExceeded,
MaxSequenceLengthExceeded,
MaxMappingLengthExceeded,
MaxNodeCountExceeded,
}Variants§
Eof
InvalidIndentation
UnexpectedToken
InvalidMappingKey
InvalidScalar
UnsupportedFeature
MaxDepthExceeded
MaxScalarLengthExceeded
MaxSequenceLengthExceeded
MaxMappingLengthExceeded
MaxNodeCountExceeded
Trait Implementations§
Source§impl Clone for YamlErrorKind
impl Clone for YamlErrorKind
Source§fn clone(&self) -> YamlErrorKind
fn clone(&self) -> YamlErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for YamlErrorKind
impl Debug for YamlErrorKind
Source§impl PartialEq for YamlErrorKind
impl PartialEq for YamlErrorKind
Source§fn eq(&self, other: &YamlErrorKind) -> bool
fn eq(&self, other: &YamlErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for YamlErrorKind
impl Eq for YamlErrorKind
impl StructuralPartialEq for YamlErrorKind
Auto Trait Implementations§
impl Freeze for YamlErrorKind
impl RefUnwindSafe for YamlErrorKind
impl Send for YamlErrorKind
impl Sync for YamlErrorKind
impl Unpin for YamlErrorKind
impl UnsafeUnpin for YamlErrorKind
impl UnwindSafe for YamlErrorKind
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