#[non_exhaustive]pub enum ParsePropertyError {
ValueErrors(Vec<SHTValueError>),
ParseFailure(Error<String>),
InputRemaining(String),
}Expand description
Represents possible errors parsing an SHT from a string.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ValueErrors(Vec<SHTValueError>)
Parsed data, but failed to construct an SHT from it.
ParseFailure(Error<String>)
Could not parse data from the string.
InputRemaining(String)
Parsed data from the string, but with leftover unparsed characters.
Trait Implementations§
Source§impl Debug for ParsePropertyError
impl Debug for ParsePropertyError
Source§impl PartialEq for ParsePropertyError
impl PartialEq for ParsePropertyError
impl StructuralPartialEq for ParsePropertyError
Auto Trait Implementations§
impl Freeze for ParsePropertyError
impl RefUnwindSafe for ParsePropertyError
impl Send for ParsePropertyError
impl Sync for ParsePropertyError
impl Unpin for ParsePropertyError
impl UnwindSafe for ParsePropertyError
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