#[non_exhaustive]pub struct Depth {
pub what: String,
pub visible: u64,
pub delayed: u64,
pub in_flight: u64,
pub unsent: u64,
pub approximate: bool,
}Expand description
The counts one read_depth found.
Every count is 0 in a feed that holds nothing. A backend whose counts
are estimates sets approximate.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.what: StringWhat was read: the queue, topic or list, for logs and errors. Carries no credential.
visible: u64Units ready to be received.
delayed: u64Units the feed will make visible later.
in_flight: u64Units received by a reader and not yet acknowledged or failed.
unsent: u64Acknowledges and fails this instance handed the backend that the backend has not yet applied.
approximate: boolWhether the counts are estimates that can lag the feed.
Implementations§
Trait Implementations§
impl Eq for Depth
impl StructuralPartialEq for Depth
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnsafeUnpin for Depth
impl UnwindSafe for Depth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.