Enum WebhookReservation
pub enum WebhookReservation {
Owner(WebhookReservationToken),
Committed,
InFlight(WebhookReservationWaiter),
Unavailable,
}Expand description
Result of trying to reserve one authenticated, host-authorized message ID.
Variants§
Owner(WebhookReservationToken)
This request owns delivery and must commit or roll back with the token.
Committed
A prior owner already delivered the message.
InFlight(WebhookReservationWaiter)
Another request owns delivery; wait for its actual outcome.
The bounded gateway store cannot safely admit another owner.
Auto Trait Implementations§
impl Freeze for WebhookReservation
impl RefUnwindSafe for WebhookReservation
impl Send for WebhookReservation
impl Sync for WebhookReservation
impl Unpin for WebhookReservation
impl UnsafeUnpin for WebhookReservation
impl UnwindSafe for WebhookReservation
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