#[repr(C)]pub enum ListMode {
Strong,
Eventual,
Other(String),
}Expand description
Modes of KV Store list operations.
This type serves to facilitate alternative methods of cache interactions with list operations.
Variants§
Strong
The default method of listing. Performs an un-cached list on every invocation.
Eventual
Returns a cached list response to improve performance.
The data may be slightly out of sync with the store, but repeated calls are faster.
The word “eventual” here refers to eventual consistency.
Other(String)
Handles unexpected or unknown list modes returned by the upstream API.
This variant is a catch-all and should not be constructed manually by SDK consumers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListMode
impl RefUnwindSafe for ListMode
impl Send for ListMode
impl Sync for ListMode
impl Unpin for ListMode
impl UnwindSafe for ListMode
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