Enum WebhookReject
pub enum WebhookReject {
Unauthorized(String),
BadRequest(String),
Unavailable(String),
InvalidResponse,
Timeout,
}Expand description
Why a plugin webhook request could not be accepted.
Variants§
Guest authentication failed. The detail is for host logs only.
BadRequest(String)
The authenticated payload was malformed. Detail is host-only.
Guest execution or downstream delivery was unavailable. Detail is host-only; the public response is always an opaque 503.
InvalidResponse
The plugin’s response exceeds the host-owned body limit (opaque 502).
Timeout
The request deadline cancelled guest parsing or delivery.
Trait Implementations§
Source§impl Clone for WebhookReject
impl Clone for WebhookReject
Source§fn clone(&self) -> WebhookReject
fn clone(&self) -> WebhookReject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WebhookReject
impl RefUnwindSafe for WebhookReject
impl Send for WebhookReject
impl Sync for WebhookReject
impl Unpin for WebhookReject
impl UnsafeUnpin for WebhookReject
impl UnwindSafe for WebhookReject
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