trait Writeable {
const LEN: u64;
// Required method
fn write_to(&self, writer: impl Write) -> Result<()>;
}
Required Associated Constants§
sourceconst LEN: u64
const LEN: u64
The number of bytes that will be written on a call to Writeable::write_to
.
Implementations may panic if this is incorrect.
Required Methods§
Object Safety§
This trait is not object safe.