pub enum Problem {
Missing {
agent: String,
hint: String,
},
TooOld {
agent: String,
version: Version,
minimum: Version,
},
SignedOut {
agent: String,
hint: String,
},
Quota {
agent: String,
},
RateLimit {
agent: String,
},
TrustRequired(Box<TrustRequirement>),
ModeMismatch {
requested: String,
actual: Option<String>,
},
Failed(String),
}Expand description
Structured ACP transport or setup failure mapped cleanly to agent::error::Failure.
Variants§
Missing
TooOld
SignedOut
Quota
RateLimit
TrustRequired(Box<TrustRequirement>)
ModeMismatch
Failed(String)
Trait Implementations§
impl Eq for Problem
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Forget for Problem
impl Freeze for Problem
impl Move for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.