pub enum StrunemixError {
ParseError(StrunemixParseError),
IncompleteForm,
ConversionError(StrunemixFromError),
}
Expand description
General Strunemix error
Variants§
Trait Implementations§
Source§impl Debug for StrunemixError
impl Debug for StrunemixError
Source§impl Display for StrunemixError
impl Display for StrunemixError
Source§impl Error for StrunemixError
impl Error for StrunemixError
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<StrunemixFromError> for StrunemixError
impl From<StrunemixFromError> for StrunemixError
Source§fn from(source: StrunemixFromError) -> Self
fn from(source: StrunemixFromError) -> Self
Converts to this type from the input type.
Source§impl From<StrunemixParseError> for StrunemixError
impl From<StrunemixParseError> for StrunemixError
Source§fn from(source: StrunemixParseError) -> Self
fn from(source: StrunemixParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StrunemixError
impl !RefUnwindSafe for StrunemixError
impl !Send for StrunemixError
impl !Sync for StrunemixError
impl Unpin for StrunemixError
impl !UnwindSafe for StrunemixError
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