Enum marked_yaml::types::YamlConversionError
source · pub enum YamlConversionError {
Alias,
BadValue,
NonScalar,
}
Expand description
Errors which could be encountered while converting from a yaml_rust::Yaml
Variants§
Alias
An alias was encountered while converting
BadValue
A BadValue was encountered while converting
NonScalar
A non-scalar value was encountered when a scalar was expected
Trait Implementations§
source§impl Debug for YamlConversionError
impl Debug for YamlConversionError
source§impl PartialEq for YamlConversionError
impl PartialEq for YamlConversionError
source§fn eq(&self, other: &YamlConversionError) -> bool
fn eq(&self, other: &YamlConversionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for YamlConversionError
impl StructuralPartialEq for YamlConversionError
Auto Trait Implementations§
impl Freeze for YamlConversionError
impl RefUnwindSafe for YamlConversionError
impl Send for YamlConversionError
impl Sync for YamlConversionError
impl Unpin for YamlConversionError
impl UnwindSafe for YamlConversionError
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