pub trait Row<'a> {
type ReadResult;
// Required methods
fn write(v: &Self, writer: &mut Writer<'_>) -> Result<(), Error>;
fn cast(bytes: &'a [u8]) -> Self::ReadResult;
}Required Associated Types§
type ReadResult
Required Methods§
fn write(v: &Self, writer: &mut Writer<'_>) -> Result<(), Error>
fn cast(bytes: &'a [u8]) -> Self::ReadResult
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.