#[repr(i32)]pub enum Kind {
Show 13 variants
Present = 0,
Data = 1,
Length = 2,
DictionaryData = 3,
DictionaryCount = 4,
Secondary = 5,
RowIndex = 6,
BloomFilter = 7,
BloomFilterUtf8 = 8,
EncryptedIndex = 9,
EncryptedData = 10,
StripeStatistics = 100,
FileStatistics = 101,
}
Expand description
if you add new index stream kinds, you need to make sure to update StreamName to ensure it is added to the stripe in the right area
Variants§
Present = 0
Data = 1
Length = 2
DictionaryData = 3
DictionaryCount = 4
Secondary = 5
RowIndex = 6
BloomFilter = 7
BloomFilterUtf8 = 8
EncryptedIndex = 9
Virtual stream kinds to allocate space for encrypted index and data.
EncryptedData = 10
StripeStatistics = 100
stripe statistics streams
FileStatistics = 101
A virtual stream kind that is used for setting the encryption IV.
Implementations§
source§impl Kind
impl Kind
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Kind
impl Ord for Kind
source§impl PartialEq for Kind
impl PartialEq for Kind
source§impl PartialOrd for Kind
impl PartialOrd for Kind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.