#[repr(u16)]pub enum SectionKind {
Metadata = 1,
Schema = 2,
ZstdDicts = 3,
Ipv6Aliases = 4,
Ipv4Index = 5,
Ipv6Index = 6,
Ipv6HostExt = 7,
RecordColumns = 8,
DictTables = 9,
}Expand description
Section kind identifier in the Section Directory.
Variants§
Metadata = 1
Schema = 2
ZstdDicts = 3
Ipv6Aliases = 4
Ipv4Index = 5
Ipv6Index = 6
Ipv6HostExt = 7
RecordColumns = 8
DictTables = 9
Implementations§
Source§impl SectionKind
impl SectionKind
pub fn from_u16(v: u16) -> Result<SectionKind, FormatError>
pub const fn name(self) -> &'static str
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
impl Eq for SectionKind
Source§impl Hash for SectionKind
impl Hash for SectionKind
Source§impl PartialEq for SectionKind
impl PartialEq for SectionKind
impl StructuralPartialEq for SectionKind
Auto Trait Implementations§
impl Forget for SectionKind
impl Freeze for SectionKind
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.