pub enum CommentError {
Admission(AdmissionError),
Package(String),
}Expand description
Why comments could not be listed.
Variants§
Admission(AdmissionError)
Refused before parsing by crate::admission.
Package(String)
The package or one of its parts could not be read.
Implementations§
Trait Implementations§
Source§impl Debug for CommentError
impl Debug for CommentError
Source§impl Display for CommentError
impl Display for CommentError
Source§impl Error for CommentError
impl Error for CommentError
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<InspectError> for CommentError
impl From<InspectError> for CommentError
Source§fn from(error: InspectError) -> CommentError
fn from(error: InspectError) -> CommentError
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for CommentError
impl Freeze for CommentError
impl Move for CommentError
impl RefUnwindSafe for CommentError
impl Send for CommentError
impl Sync for CommentError
impl Unpin for CommentError
impl UnsafeUnpin for CommentError
impl UnwindSafe for CommentError
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