pub enum AdvisorError {
Usage(String),
UnsupportedIntent {
requested: String,
supported: Vec<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for AdvisorError
impl Clone for AdvisorError
Source§fn clone(&self) -> AdvisorError
fn clone(&self) -> AdvisorError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvisorError
impl Debug for AdvisorError
Source§impl Display for AdvisorError
impl Display for AdvisorError
Source§impl Error for AdvisorError
impl Error for AdvisorError
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 PartialEq for AdvisorError
impl PartialEq for AdvisorError
impl Eq for AdvisorError
impl StructuralPartialEq for AdvisorError
Auto Trait Implementations§
impl Freeze for AdvisorError
impl RefUnwindSafe for AdvisorError
impl Send for AdvisorError
impl Sync for AdvisorError
impl Unpin for AdvisorError
impl UnsafeUnpin for AdvisorError
impl UnwindSafe for AdvisorError
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