pub trait RecordEncoder {
type Value;
const RECORD_SIZE: usize;
// Required method
fn encode(
&self,
buf: &mut [Self::Value],
const_value: impl FnMut(u32) -> Self::Value,
);
}Expand description
This module defines the Record trait, which is used to encode and decode
Required Associated Constants§
const RECORD_SIZE: usize
Required Associated Types§
Required Methods§
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.