Trait diem_sdk::crypto::Length

pub trait Length {
    // Required method
    fn length(&self) -> usize;
}
Expand description

The serialized length of the data that enables macro derived serialization and deserialization.

Required Methods§

fn length(&self) -> usize

The serialized length of the data

Implementors§