#[non_exhaustive]pub enum SectionKind {
Data,
Decoder,
Sidecar,
Unknown(u32),
}Expand description
What a section holds.
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.
Data
Encoded column data, in whatever form the decoder expects.
Decoder
A decoder module, embedded in the container.
Sidecar
An index, a dictionary, a footer of some inner format, anything the decoder wants to find quickly without reading the data.
Unknown(u32)
A kind this build does not know about. A section is a run of bytes with a digest, so an unknown kind is still checkable and still skippable.
Implementations§
Trait Implementations§
Source§impl Clone for SectionKind
impl Clone for SectionKind
Source§fn clone(&self) -> SectionKind
fn clone(&self) -> SectionKind
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 moreimpl Copy for SectionKind
Source§impl Debug for SectionKind
impl Debug for SectionKind
Source§impl<'de> Deserialize<'de> for SectionKind
impl<'de> Deserialize<'de> for SectionKind
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
impl Eq for SectionKind
Source§impl PartialEq for SectionKind
impl PartialEq for SectionKind
Source§impl Serialize for SectionKind
impl Serialize for SectionKind
impl StructuralPartialEq for SectionKind
Auto Trait Implementations§
impl Freeze for SectionKind
impl RefUnwindSafe for SectionKind
impl Send for SectionKind
impl Sync for SectionKind
impl Unpin for SectionKind
impl UnsafeUnpin for SectionKind
impl UnwindSafe for SectionKind
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