pub struct NamespaceView {
pub total: NamespaceUsage,
pub pushed: NamespaceUsage,
pub observed_at_ms: u64,
}Expand description
A ref shard’s unguarded copy of the namespace aggregate.
Fields§
§total: NamespaceUsageCoordinator total at observed_at_ms.
pushed: NamespaceUsageThis shard’s contribution already included in total.
observed_at_ms: u64Time of the coordinator read, for stale-view metrics.
Trait Implementations§
Source§impl Clone for NamespaceView
impl Clone for NamespaceView
impl Copy for NamespaceView
Source§impl Debug for NamespaceView
impl Debug for NamespaceView
impl Eq for NamespaceView
Source§impl PartialEq for NamespaceView
impl PartialEq for NamespaceView
impl StructuralPartialEq for NamespaceView
Auto Trait Implementations§
impl Freeze for NamespaceView
impl RefUnwindSafe for NamespaceView
impl Send for NamespaceView
impl Sync for NamespaceView
impl Unpin for NamespaceView
impl UnsafeUnpin for NamespaceView
impl UnwindSafe for NamespaceView
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