pub enum ClarifyError {
UnknownDecision(String),
InvalidAnswer {
id: String,
},
InvalidCandidate {
id: String,
chosen: String,
},
DuplicateDecision(String),
ConflictingRenameTarget {
scope: String,
target: String,
},
EmptyInput {
id: String,
},
}Variants§
UnknownDecision(String)
InvalidAnswer
InvalidCandidate
DuplicateDecision(String)
ConflictingRenameTarget
EmptyInput
Trait Implementations§
Source§impl Debug for ClarifyError
impl Debug for ClarifyError
Source§impl Display for ClarifyError
impl Display for ClarifyError
Source§impl Error for ClarifyError
impl Error for ClarifyError
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<ClarifyError> for OfflineError
impl From<ClarifyError> for OfflineError
Source§fn from(source: ClarifyError) -> Self
fn from(source: ClarifyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClarifyError
impl PartialEq for ClarifyError
impl StructuralPartialEq for ClarifyError
Auto Trait Implementations§
impl Freeze for ClarifyError
impl RefUnwindSafe for ClarifyError
impl Send for ClarifyError
impl Sync for ClarifyError
impl Unpin for ClarifyError
impl UnsafeUnpin for ClarifyError
impl UnwindSafe for ClarifyError
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