pub enum RequestIdentityError {
NotPending {
step: String,
instance: Vec<String>,
},
UnknownTarget {
step: String,
target: u32,
},
ProjectionNotUtf8 {
step: String,
},
}Expand description
Why a request identity was not computed (spec 004, 3.4.2).
Variants§
NotPending
No such request is pending.
UnknownTarget
The target is neither the primary (0) nor a fallback the plan binds for this step.
ProjectionNotUtf8
The projection is not UTF-8. Canonical JSON always is, so this is a defect, reported rather than repaired.
Trait Implementations§
Source§impl Clone for RequestIdentityError
impl Clone for RequestIdentityError
Source§impl Debug for RequestIdentityError
impl Debug for RequestIdentityError
Source§impl Display for RequestIdentityError
impl Display for RequestIdentityError
impl Eq for RequestIdentityError
Source§impl Error for RequestIdentityError
impl Error for RequestIdentityError
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 RequestIdentityError
impl PartialEq for RequestIdentityError
impl StructuralPartialEq for RequestIdentityError
Auto Trait Implementations§
impl Freeze for RequestIdentityError
impl RefUnwindSafe for RequestIdentityError
impl Send for RequestIdentityError
impl Sync for RequestIdentityError
impl Unpin for RequestIdentityError
impl UnsafeUnpin for RequestIdentityError
impl UnwindSafe for RequestIdentityError
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