pub enum GemlError {
IoError(String),
MarkdownError(&'static str),
HtmlError(&'static str),
ParseError(&'static str),
}Variants§
Implementations§
Trait Implementations§
Source§impl Error for GemlError
impl Error for GemlError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for GemlError
impl RefUnwindSafe for GemlError
impl Send for GemlError
impl Sync for GemlError
impl Unpin for GemlError
impl UnwindSafe for GemlError
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