#[non_exhaustive]pub enum Subject {
Batch {
schema: Schema,
rows: u64,
nodes: Vec<Node>,
buffers: Vec<Vec<u8>>,
},
Dictionary {
keys: Vec<u8>,
key_type: DataType,
len: u64,
dictionary_len: u64,
},
Views {
views: Vec<u8>,
data: Vec<Vec<u8>>,
len: u64,
},
}Expand description
What a case hands the guard.
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.
Batch
A whole batch against a schema.
Fields
Dictionary
Dictionary keys against a dictionary of a given size.
Fields
Views
Views against the data buffers they point into.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subject
impl RefUnwindSafe for Subject
impl Send for Subject
impl Sync for Subject
impl Unpin for Subject
impl UnsafeUnpin for Subject
impl UnwindSafe for Subject
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