pub enum RuntimeSessionAuthorityReadCost {
Bounded,
Unsupported,
}Expand description
Upper bound for observing the currently committed session authority.
Reconciliation and health probes may poll this seam. A store must therefore state whether the observation is a bounded metadata read; silently parsing an accumulated WholeBlob document here recreates an O(document) hot loop.
Variants§
Bounded
Reads only a fixed-size authority row or in-memory authority value.
Unsupported
This implementation has no bounded authority observation.
Trait Implementations§
Source§impl Clone for RuntimeSessionAuthorityReadCost
impl Clone for RuntimeSessionAuthorityReadCost
Source§fn clone(&self) -> RuntimeSessionAuthorityReadCost
fn clone(&self) -> RuntimeSessionAuthorityReadCost
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeSessionAuthorityReadCost
impl Eq for RuntimeSessionAuthorityReadCost
impl StructuralPartialEq for RuntimeSessionAuthorityReadCost
Auto Trait Implementations§
impl Freeze for RuntimeSessionAuthorityReadCost
impl RefUnwindSafe for RuntimeSessionAuthorityReadCost
impl Send for RuntimeSessionAuthorityReadCost
impl Sync for RuntimeSessionAuthorityReadCost
impl Unpin for RuntimeSessionAuthorityReadCost
impl UnsafeUnpin for RuntimeSessionAuthorityReadCost
impl UnwindSafe for RuntimeSessionAuthorityReadCost
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> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
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.