pub enum MailboxFullReason {
MessageLimit,
ByteLimit,
}Expand description
Which of a mailbox’s two bounds refused a hop.
Reported so an operator can tell “this flow is not draining its inbox”
(Self::MessageLimit) from “this flow is being sent payloads too
large for its budget” (Self::ByteLimit) without instrumenting the
sender. Those have different fixes: raise capacity / speed up the
receiver versus raise the byte budget / shrink the payload.
Variants§
MessageLimit
MailboxCapacity hops are already queued.
ByteLimit
Accepting the hop would exceed the MailboxBytes budget. Also
reported when a single hop is larger than the entire budget, which
no eviction policy can make room for.
Trait Implementations§
Source§impl Clone for MailboxFullReason
impl Clone for MailboxFullReason
Source§fn clone(&self) -> MailboxFullReason
fn clone(&self) -> MailboxFullReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MailboxFullReason
Source§impl Debug for MailboxFullReason
impl Debug for MailboxFullReason
Source§impl Display for MailboxFullReason
impl Display for MailboxFullReason
impl Eq for MailboxFullReason
Source§impl PartialEq for MailboxFullReason
impl PartialEq for MailboxFullReason
impl StructuralPartialEq for MailboxFullReason
Auto Trait Implementations§
impl Freeze for MailboxFullReason
impl RefUnwindSafe for MailboxFullReason
impl Send for MailboxFullReason
impl Sync for MailboxFullReason
impl Unpin for MailboxFullReason
impl UnsafeUnpin for MailboxFullReason
impl UnwindSafe for MailboxFullReason
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