#[non_exhaustive]pub enum SchemaEncoding {
ArrowIpc,
Unknown(u32),
}Expand description
How the schema bytes are encoded.
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.
ArrowIpc
An Arrow IPC schema message, exactly as arrow-ipc writes one.
This crate does not depend on Arrow and does not look inside these bytes. Carrying the encoding rather than assuming it means a later version can add a second one without a new major version, and it means this crate stays small enough to fuzz properly.
Unknown(u32)
Something this build does not know about, carried through so that a tool which only wants the section table is not stopped by a schema it cannot read.
Implementations§
Trait Implementations§
Source§impl Clone for SchemaEncoding
impl Clone for SchemaEncoding
Source§fn clone(&self) -> SchemaEncoding
fn clone(&self) -> SchemaEncoding
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 SchemaEncoding
Source§impl Debug for SchemaEncoding
impl Debug for SchemaEncoding
Source§impl<'de> Deserialize<'de> for SchemaEncoding
impl<'de> Deserialize<'de> for SchemaEncoding
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 SchemaEncoding
Source§impl PartialEq for SchemaEncoding
impl PartialEq for SchemaEncoding
Source§impl Serialize for SchemaEncoding
impl Serialize for SchemaEncoding
impl StructuralPartialEq for SchemaEncoding
Auto Trait Implementations§
impl Freeze for SchemaEncoding
impl RefUnwindSafe for SchemaEncoding
impl Send for SchemaEncoding
impl Sync for SchemaEncoding
impl Unpin for SchemaEncoding
impl UnsafeUnpin for SchemaEncoding
impl UnwindSafe for SchemaEncoding
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