pub enum DiscussionError {
UnsupportedVersion(u8),
EmptyId,
EmptyAnchorFile,
EmptyAnchorSymbol,
EmptyTurnBody,
EmptyDismissReason,
MissingAnnotationLink,
Encoding(String),
}Variants§
UnsupportedVersion(u8)
EmptyId
EmptyAnchorFile
EmptyAnchorSymbol
EmptyTurnBody
EmptyDismissReason
MissingAnnotationLink
Encoding(String)
Trait Implementations§
Source§impl Debug for DiscussionError
impl Debug for DiscussionError
Source§impl Display for DiscussionError
impl Display for DiscussionError
Source§impl Error for DiscussionError
impl Error for DiscussionError
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()
Auto Trait Implementations§
impl Freeze for DiscussionError
impl RefUnwindSafe for DiscussionError
impl Send for DiscussionError
impl Sync for DiscussionError
impl Unpin for DiscussionError
impl UnsafeUnpin for DiscussionError
impl UnwindSafe for DiscussionError
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