pub enum Refusal {
Missing,
Malformed,
Expired,
OutsidePrefix,
BadProof,
}Expand description
Why a stamp is not accepted. Never shown to the caller beyond “refused”.
Variants§
Missing
A stamp header is missing.
Malformed
A header is not an address, a time or a proof.
Expired
The time is outside the window.
OutsidePrefix
The request’s target is not under the gateway’s path prefix, or is written in a way that could mean another path.
BadProof
The proof does not match.
Trait Implementations§
impl Copy for Refusal
impl Eq for Refusal
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Freeze for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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