pub struct UserOutboundOverflow {
kind: UserOutboundOverflowKind,
message_capacity: usize,
byte_capacity: usize,
queued_bytes: usize,
message_bytes: usize,
}Expand description
queue overflow details captured when a user cannot accept more outbound work
Fields§
§kind: UserOutboundOverflowKind§message_capacity: usize§byte_capacity: usize§queued_bytes: usize§message_bytes: usizeImplementations§
Source§impl UserOutboundOverflow
impl UserOutboundOverflow
const fn new( kind: UserOutboundOverflowKind, message_capacity: usize, byte_capacity: usize, queued_bytes: usize, message_bytes: usize, ) -> Self
pub const fn capacity(self) -> usize
pub const fn kind(self) -> UserOutboundOverflowKind
pub const fn byte_capacity(self) -> usize
pub const fn queued_bytes(self) -> usize
pub const fn message_bytes(self) -> usize
Trait Implementations§
Source§impl Clone for UserOutboundOverflow
impl Clone for UserOutboundOverflow
Source§fn clone(&self) -> UserOutboundOverflow
fn clone(&self) -> UserOutboundOverflow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserOutboundOverflow
impl Debug for UserOutboundOverflow
Source§impl PartialEq for UserOutboundOverflow
impl PartialEq for UserOutboundOverflow
impl Copy for UserOutboundOverflow
impl Eq for UserOutboundOverflow
impl StructuralPartialEq for UserOutboundOverflow
Auto Trait Implementations§
impl Freeze for UserOutboundOverflow
impl RefUnwindSafe for UserOutboundOverflow
impl Send for UserOutboundOverflow
impl Sync for UserOutboundOverflow
impl Unpin for UserOutboundOverflow
impl UnsafeUnpin for UserOutboundOverflow
impl UnwindSafe for UserOutboundOverflow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more