pub enum CommentAssemblyError {
Io(Error),
Json(JsonError),
NotFound,
}
Expand description
The types of error that could be propagated from generate_comment()
.
Variants§
Io(Error)
Represents any std::io::Error
encountered.
Json(JsonError)
Represents any JsonError
encountered.
NotFound
Represents an error in which expected data is not found.
Check stderr for the root cause of this kind of error because detailed log output is emitted in this situation.
Trait Implementations§
Source§impl Debug for CommentAssemblyError
impl Debug for CommentAssemblyError
Source§impl Display for CommentAssemblyError
impl Display for CommentAssemblyError
Source§impl Error for CommentAssemblyError
impl Error for CommentAssemblyError
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<Error> for CommentAssemblyError
impl From<Error> for CommentAssemblyError
Auto Trait Implementations§
impl Freeze for CommentAssemblyError
impl !RefUnwindSafe for CommentAssemblyError
impl Send for CommentAssemblyError
impl Sync for CommentAssemblyError
impl Unpin for CommentAssemblyError
impl !UnwindSafe for CommentAssemblyError
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