pub enum InboundStatusError {
Signature,
Malformed(String),
}Expand description
A status-webhook failure. The Signature variant carries no provider
text: WebhookVerifier::verify answers a boolean — fail closed with
no detail to leak — and the port keeps that property rather than
inventing prose a log could leak. Malformed carries the adapter’s own
description, scrubbed in Display the way TrackerError::Rejected
scrubs the tracker’s words.
Variants§
Signature
The delivery’s signature did not verify (or could not be read). The
body is never parsed, and the caller should answer 4xx without
saying which part failed.
Malformed(String)
The delivery verified, but its body is not an event this vendor
sends. Display scrubs the text — a payload can quote tenant data.
Trait Implementations§
Source§impl Clone for InboundStatusError
impl Clone for InboundStatusError
Source§impl Debug for InboundStatusError
impl Debug for InboundStatusError
Source§impl Display for InboundStatusError
impl Display for InboundStatusError
impl Eq for InboundStatusError
Source§impl Error for InboundStatusError
impl Error for InboundStatusError
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 InboundStatusError
impl PartialEq for InboundStatusError
impl StructuralPartialEq for InboundStatusError
Auto Trait Implementations§
impl Freeze for InboundStatusError
impl RefUnwindSafe for InboundStatusError
impl Send for InboundStatusError
impl Sync for InboundStatusError
impl Unpin for InboundStatusError
impl UnsafeUnpin for InboundStatusError
impl UnwindSafe for InboundStatusError
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
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§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.