pub struct Message<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
source§impl<'a> Message<'a>
impl<'a> Message<'a>
pub const VT_VERSION: VOffsetT = 4u16
pub const VT_HEADER_TYPE: VOffsetT = 6u16
pub const VT_HEADER: VOffsetT = 8u16
pub const VT_BODYLENGTH: VOffsetT = 10u16
pub const VT_CUSTOM_METADATA: VOffsetT = 12u16
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>, args: &'args MessageArgs<'args> ) -> WIPOffset<Message<'bldr>>
pub fn version(&self) -> MetadataVersion
pub fn header_type(&self) -> MessageHeader
pub fn header(&self) -> Option<Table<'a>>
pub fn bodyLength(&self) -> i64
pub fn custom_metadata( &self ) -> Option<Vector<'a, ForwardsUOffset<KeyValue<'a>>>>
pub fn header_as_schema(&self) -> Option<Schema<'a>>
pub fn header_as_dictionary_batch(&self) -> Option<DictionaryBatch<'a>>
pub fn header_as_record_batch(&self) -> Option<RecordBatch<'a>>
pub fn header_as_tensor(&self) -> Option<Tensor<'a>>
pub fn header_as_sparse_tensor(&self) -> Option<SparseTensor<'a>>
Trait Implementations§
source§impl<'a> PartialEq<Message<'a>> for Message<'a>
impl<'a> PartialEq<Message<'a>> for Message<'a>
source§impl Verifiable for Message<'_>
impl Verifiable for Message<'_>
source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for Message<'a>
impl<'a> StructuralPartialEq for Message<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Message<'a>
impl<'a> Send for Message<'a>
impl<'a> Sync for Message<'a>
impl<'a> Unpin for Message<'a>
impl<'a> UnwindSafe for Message<'a>
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