pub struct ConnectionInboxBudget { /* private fields */ }Expand description
One shared inbox-byte budget per connection (§5).
Spent across ALL that connection’s subscription inboxes. The accounting unit is serialized envelope bytes AS ADMITTED — charged at enqueue, released at dequeue — so the signed 4 MiB product is exact and envelope-size-independent, not a per-inbox count bounding a variable the design does not control.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ConnectionInboxBudget
impl RefUnwindSafe for ConnectionInboxBudget
impl Send for ConnectionInboxBudget
impl Sync for ConnectionInboxBudget
impl Unpin for ConnectionInboxBudget
impl UnsafeUnpin for ConnectionInboxBudget
impl UnwindSafe for ConnectionInboxBudget
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