pub enum EmbeddedRouteMode {
FullKey,
SessionPrefix,
}Expand description
Selects how embedded database traffic is routed across shards.
Variants§
FullKey
Route by the full key bytes. This matches the generic store behavior.
SessionPrefix
Route all s:<session>:c:<chunk> keys for a session to the same shard.
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddedRouteMode
impl Clone for EmbeddedRouteMode
Source§fn clone(&self) -> EmbeddedRouteMode
fn clone(&self) -> EmbeddedRouteMode
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 moreSource§impl Debug for EmbeddedRouteMode
impl Debug for EmbeddedRouteMode
Source§impl Default for EmbeddedRouteMode
impl Default for EmbeddedRouteMode
Source§fn default() -> EmbeddedRouteMode
fn default() -> EmbeddedRouteMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for EmbeddedRouteMode
impl PartialEq for EmbeddedRouteMode
Source§fn eq(&self, other: &EmbeddedRouteMode) -> bool
fn eq(&self, other: &EmbeddedRouteMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EmbeddedRouteMode
impl Eq for EmbeddedRouteMode
impl StructuralPartialEq for EmbeddedRouteMode
Auto Trait Implementations§
impl Freeze for EmbeddedRouteMode
impl RefUnwindSafe for EmbeddedRouteMode
impl Send for EmbeddedRouteMode
impl Sync for EmbeddedRouteMode
impl Unpin for EmbeddedRouteMode
impl UnsafeUnpin for EmbeddedRouteMode
impl UnwindSafe for EmbeddedRouteMode
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