pub struct IntentRefused {
pub verb: &'static str,
pub found: Classification,
pub next: &'static str,
}Expand description
A front verb asked for a target it does not serve.
Fields§
§verb: &'static strThe verb the operator ran.
found: ClassificationWhat the target turned out to be.
next: &'static strWhat to run instead.
Trait Implementations§
Source§impl Clone for IntentRefused
impl Clone for IntentRefused
Source§fn clone(&self) -> IntentRefused
fn clone(&self) -> IntentRefused
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IntentRefused
impl Debug for IntentRefused
Source§impl Display for IntentRefused
impl Display for IntentRefused
impl Eq for IntentRefused
Source§impl Error for IntentRefused
impl Error for IntentRefused
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 IntentRefused
impl PartialEq for IntentRefused
impl StructuralPartialEq for IntentRefused
Auto Trait Implementations§
impl Freeze for IntentRefused
impl RefUnwindSafe for IntentRefused
impl Send for IntentRefused
impl Sync for IntentRefused
impl Unpin for IntentRefused
impl UnsafeUnpin for IntentRefused
impl UnwindSafe for IntentRefused
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.