Enum marked_yaml::FromYamlError
source · pub enum FromYamlError {
ParseYaml(LoadError),
FromNode(FromNodeError),
}
Available on crate feature
serde
only.Expand description
Errors which can occur when deserialising from YAML
Variants§
ParseYaml(LoadError)
A problem was encountered when parsing YAML
FromNode(FromNodeError)
A problem was encountered when deserializing from nodes
Trait Implementations§
source§impl Debug for FromYamlError
impl Debug for FromYamlError
source§impl Display for FromYamlError
impl Display for FromYamlError
source§impl Error for FromYamlError
impl Error for FromYamlError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<FromNodeError> for FromYamlError
impl From<FromNodeError> for FromYamlError
source§fn from(value: FromNodeError) -> Self
fn from(value: FromNodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromYamlError
impl RefUnwindSafe for FromYamlError
impl Send for FromYamlError
impl Sync for FromYamlError
impl Unpin for FromYamlError
impl UnwindSafe for FromYamlError
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