pub enum WebhookError {
MissingSignature,
TimestampOutOfTolerance,
EmptySecret,
SignatureMismatch,
}Expand description
Why a webhook signature was rejected.
Variants§
MissingSignature
The Stripe-Signature header carried no v1 digest.
TimestampOutOfTolerance
The signed timestamp is older or newer than the tolerance.
EmptySecret
The endpoint’s signing secret was empty.
SignatureMismatch
The body does not hash to the supplied digest.
Implementations§
Trait Implementations§
Source§impl Clone for WebhookError
impl Clone for WebhookError
Source§impl Debug for WebhookError
impl Debug for WebhookError
Source§impl Display for WebhookError
impl Display for WebhookError
impl Eq for WebhookError
Source§impl PartialEq for WebhookError
impl PartialEq for WebhookError
impl StructuralPartialEq for WebhookError
Auto Trait Implementations§
impl Freeze for WebhookError
impl RefUnwindSafe for WebhookError
impl Send for WebhookError
impl Sync for WebhookError
impl Unpin for WebhookError
impl UnsafeUnpin for WebhookError
impl UnwindSafe for WebhookError
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