WriteType

Trait WriteType 

Source
pub trait WriteType<W>: Sized
where W: Write,
{ // Required method fn write(&self, writer: &mut W) -> Result<(), WriteError>; }

Required Methods§

Source

fn write(&self, writer: &mut W) -> Result<(), WriteError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, W> WriteType<W> for CompactNullableStringRef<'a>
where W: Write,

Source§

impl<'a, W> WriteType<W> for CompactStringRef<'a>
where W: Write,

Source§

impl<'a, W, T> WriteType<W> for ArrayRef<'a, T>
where W: Write, T: WriteType<W>,

Source§

impl<'a, W, T> WriteType<W> for CompactArrayRef<'a, T>
where W: Write, T: WriteType<W>,

Source§

impl<W> WriteType<W> for ControlBatchRecord
where W: Write,

Source§

impl<W> WriteType<W> for Boolean
where W: Write,

Source§

impl<W> WriteType<W> for CompactNullableString
where W: Write,

Source§

impl<W> WriteType<W> for CompactString
where W: Write,

Source§

impl<W> WriteType<W> for Int8
where W: Write,

Source§

impl<W> WriteType<W> for Int16
where W: Write,

Source§

impl<W> WriteType<W> for Int32
where W: Write,

Source§

impl<W> WriteType<W> for Int64
where W: Write,

Source§

impl<W> WriteType<W> for NullableBytes
where W: Write,

Source§

impl<W> WriteType<W> for NullableString
where W: Write,

Source§

impl<W> WriteType<W> for Records
where W: Write,

Source§

impl<W> WriteType<W> for String_
where W: Write,

Source§

impl<W> WriteType<W> for TaggedFields
where W: Write,

Source§

impl<W> WriteType<W> for UnsignedVarint
where W: Write,

Source§

impl<W> WriteType<W> for Varint
where W: Write,

Source§

impl<W> WriteType<W> for Varlong
where W: Write,

Source§

impl<W> WriteType<W> for Record
where W: Write,

Source§

impl<W> WriteType<W> for RecordBatch
where W: Write,

Source§

impl<W> WriteType<W> for RecordBatchBody
where W: Write,

Source§

impl<W> WriteType<W> for RecordHeader
where W: Write,

Source§

impl<W, T> WriteType<W> for Array<T>
where W: Write, T: WriteType<W>,

Source§

impl<W, T> WriteType<W> for CompactArray<T>
where W: Write, T: WriteType<W>,