pub enum MetarError {
InvalidFormat,
UnknownGroup(String),
}Expand description
Enumerates the allowed values for MetarError.
Variants§
Trait Implementations§
Source§impl Debug for MetarError
impl Debug for MetarError
Source§impl Display for MetarError
impl Display for MetarError
Source§impl Error for MetarError
impl Error for MetarError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<MetarError> for ParseError
impl From<MetarError> for ParseError
Source§fn from(source: MetarError) -> Self
fn from(source: MetarError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MetarError
impl RefUnwindSafe for MetarError
impl Send for MetarError
impl Sync for MetarError
impl Unpin for MetarError
impl UnsafeUnpin for MetarError
impl UnwindSafe for MetarError
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