pub trait BufferPushable {
// Required method
fn push_to_buffer<T: AsMut<[u8]>>(
&self,
buffer: T,
) -> Result<usize, ScsiError>;
}Expand description
Allows a struct to serialize itself to a raw byte buffer.
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.