pub enum Codec {
}
Expand description
An Avro encoding
https://avro.apache.org/docs/1.11.1/specification/#encodings
Variants§
Null
Boolean
Int32
Int64
Float32
Float64
Binary
Utf8
Date32
TimeMillis
TimeMicros
TimestampMillis(bool)
TimestampMillis(is_utc)
TimestampMicros(bool)
TimestampMicros(is_utc)
Fixed(i32)
List(Arc<AvroDataType>)
Struct(Arc<[AvroField]>)
Interval
Implementations§
Trait Implementations§
Source§impl From<PrimitiveType> for Codec
impl From<PrimitiveType> for Codec
Source§fn from(value: PrimitiveType) -> Self
fn from(value: PrimitiveType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Codec
impl RefUnwindSafe for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnwindSafe for Codec
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