pub enum QueuePushRejection {
BudgetExhausted(BudgetRejection),
DeadlineExceeded,
Closed,
SlowConsumerClosed,
}Expand description
A source-free normal queue-admission rejection.
Variants§
BudgetExhausted(BudgetRejection)
The resource budget rejected the item.
DeadlineExceeded
The absolute admission deadline elapsed.
Closed
The queue is closed.
SlowConsumerClosed
The queue closed a slow consumer.
Trait Implementations§
Source§impl Clone for QueuePushRejection
impl Clone for QueuePushRejection
Source§impl Debug for QueuePushRejection
impl Debug for QueuePushRejection
impl Eq for QueuePushRejection
Source§impl PartialEq for QueuePushRejection
impl PartialEq for QueuePushRejection
impl StructuralPartialEq for QueuePushRejection
Auto Trait Implementations§
impl Freeze for QueuePushRejection
impl RefUnwindSafe for QueuePushRejection
impl Send for QueuePushRejection
impl Sync for QueuePushRejection
impl Unpin for QueuePushRejection
impl UnsafeUnpin for QueuePushRejection
impl UnwindSafe for QueuePushRejection
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