#[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
Eventual mode will permit use of a cached list response. While the data may be out of sync, response time is much faster on repeated lists.
Other(String)
Other is a catch-all for unexpected responses from the upstream API. This should not be constructed by consumers of the SDK.
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