Enum zarrs::array::codec::array_to_bytes::sharding::ShardingIndexLocation
source · pub enum ShardingIndexLocation {
Start,
End,
}Available on crate feature
sharding only.Expand description
The sharding index location.
Variants§
Start
The index is at the start of the shard, before the chunks.
End
The index is at the end of the shard, after the chunks.
Trait Implementations§
source§impl Clone for ShardingIndexLocation
impl Clone for ShardingIndexLocation
source§fn clone(&self) -> ShardingIndexLocation
fn clone(&self) -> ShardingIndexLocation
Returns a copy 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 moresource§impl Debug for ShardingIndexLocation
impl Debug for ShardingIndexLocation
source§impl Default for ShardingIndexLocation
impl Default for ShardingIndexLocation
source§impl<'de> Deserialize<'de> for ShardingIndexLocation
impl<'de> Deserialize<'de> for ShardingIndexLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ShardingIndexLocation
impl Display for ShardingIndexLocation
source§impl PartialEq for ShardingIndexLocation
impl PartialEq for ShardingIndexLocation
source§fn eq(&self, other: &ShardingIndexLocation) -> bool
fn eq(&self, other: &ShardingIndexLocation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ShardingIndexLocation
impl Serialize for ShardingIndexLocation
impl Copy for ShardingIndexLocation
impl Eq for ShardingIndexLocation
impl StructuralEq for ShardingIndexLocation
impl StructuralPartialEq for ShardingIndexLocation
Auto Trait Implementations§
impl RefUnwindSafe for ShardingIndexLocation
impl Send for ShardingIndexLocation
impl Sync for ShardingIndexLocation
impl Unpin for ShardingIndexLocation
impl UnwindSafe for ShardingIndexLocation
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
§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.