pub enum InboundOutcome {
Delivered {
detail: String,
},
Rejected(String),
Unhandled,
}Expand description
The outcome of routing one inbound webhook by path.
Variants§
Delivered
Delivered to a handler; detail is a short human summary for logs.
Rejected(String)
Recognised the path but refused the delivery (bad signature, no secret, store unavailable, …). Carries the reason.
Unhandled
No handler is registered for this path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InboundOutcome
impl RefUnwindSafe for InboundOutcome
impl Send for InboundOutcome
impl Sync for InboundOutcome
impl Unpin for InboundOutcome
impl UnsafeUnpin for InboundOutcome
impl UnwindSafe for InboundOutcome
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