pub struct InboxState {
pub address: String,
pub undelivered: i64,
pub handed_out_unconfirmed: i64,
pub broker_pending: Option<i64>,
pub broker_awaiting_ack: Option<i64>,
pub broker_consumer_present: Option<bool>,
}Expand description
What one window’s inbox holds. The two sides are reported separately on purpose: they answer different questions, and averaging them would hide exactly the case worth seeing.
Fields§
§address: String§undelivered: i64Messages addressed to this window that it has never confirmed holding. The authoritative number.
handed_out_unconfirmed: i64References handed to a process that has not confirmed them. A non-zero number here after a crash is expected: they are offered again.
broker_pending: Option<i64>What the broker still holds for this window, when there is one.
broker_awaiting_ack: Option<i64>§broker_consumer_present: Option<bool>False means the durable consumer is gone (expired, or removed). That is not an empty inbox: the bus’s own records still have it.
Trait Implementations§
Source§impl Debug for InboxState
impl Debug for InboxState
Source§impl JsonSchema for InboxState
impl JsonSchema for InboxState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for InboxState
impl RefUnwindSafe for InboxState
impl Send for InboxState
impl Sync for InboxState
impl Unpin for InboxState
impl UnsafeUnpin for InboxState
impl UnwindSafe for InboxState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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