Trait fuel_vm::prelude::SizedBytes
source ·
[−]pub trait SizedBytes {
fn serialized_size(&self) -> usize;
}
Expand description
Define the amount of bytes for a serialization implementation.
Required methods
fn serialized_size(&self) -> usize
fn serialized_size(&self) -> usize
Return the expected serialized size for an instance of the type.