Enum PublicReadConsistency
pub enum PublicReadConsistency {
Session,
Strong,
Eventual,
}Expand description
The read routing posture selected by the public request’s explicit or client-wide default.
Variants§
Implementations§
§impl PublicReadConsistency
impl PublicReadConsistency
pub fn enforces_session_fence(self) -> bool
pub fn enforces_session_fence(self) -> bool
Whether a read in this posture must wait for the supplied session cursor.
Trait Implementations§
§impl Clone for PublicReadConsistency
impl Clone for PublicReadConsistency
§fn clone(&self) -> PublicReadConsistency
fn clone(&self) -> PublicReadConsistency
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 more§impl Debug for PublicReadConsistency
impl Debug for PublicReadConsistency
§impl PartialEq for PublicReadConsistency
impl PartialEq for PublicReadConsistency
impl Copy for PublicReadConsistency
impl Eq for PublicReadConsistency
impl StructuralPartialEq for PublicReadConsistency
Auto Trait Implementations§
impl Freeze for PublicReadConsistency
impl RefUnwindSafe for PublicReadConsistency
impl Send for PublicReadConsistency
impl Sync for PublicReadConsistency
impl Unpin for PublicReadConsistency
impl UnsafeUnpin for PublicReadConsistency
impl UnwindSafe for PublicReadConsistency
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.