pub trait ConstantSerializedSize: CanonicalSerialize {
const SERIALIZED_SIZE: usize;
const UNCOMPRESSED_SIZE: usize;
}
Expand description
Helper trait to get serialized size for constant sized structs.
pub trait ConstantSerializedSize: CanonicalSerialize {
const SERIALIZED_SIZE: usize;
const UNCOMPRESSED_SIZE: usize;
}
Helper trait to get serialized size for constant sized structs.