pub enum ClaimRefusal {
Unauthorized {
claimed: bool,
},
Expired,
Conflict,
Retired,
}Expand description
A claim refusal decided inside the claim transaction. Any other claim error leaves the outcome unknown to the claimant.
Variants§
The credential does not authorize this claim; claimed records
whether storage already held a claim.
Fields
Expired
Unclaimed storage whose setup verifier expired, refusing the exact secret that verifier was issued for.
Conflict
Storage holds a different claim.
Retired
The stored claim was retired by publication.
Trait Implementations§
Source§impl Clone for ClaimRefusal
impl Clone for ClaimRefusal
impl Copy for ClaimRefusal
Source§impl Debug for ClaimRefusal
impl Debug for ClaimRefusal
Source§impl Display for ClaimRefusal
impl Display for ClaimRefusal
impl Eq for ClaimRefusal
Source§impl Error for ClaimRefusal
impl Error for ClaimRefusal
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 ClaimRefusal
impl PartialEq for ClaimRefusal
impl StructuralPartialEq for ClaimRefusal
Auto Trait Implementations§
impl Freeze for ClaimRefusal
impl RefUnwindSafe for ClaimRefusal
impl Send for ClaimRefusal
impl Sync for ClaimRefusal
impl Unpin for ClaimRefusal
impl UnsafeUnpin for ClaimRefusal
impl UnwindSafe for ClaimRefusal
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