#[non_exhaustive]pub enum Sharding {
Single,
D34,
}Expand description
Deployment routing for repository state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Single
All rows of a namespace share one partition.
D34
Coordinator and per-branch ref shards (D34).
Trait Implementations§
impl Copy for Sharding
impl Eq for Sharding
impl StructuralPartialEq for Sharding
Auto Trait Implementations§
impl Freeze for Sharding
impl RefUnwindSafe for Sharding
impl Send for Sharding
impl Sync for Sharding
impl Unpin for Sharding
impl UnsafeUnpin for Sharding
impl UnwindSafe for Sharding
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