fidl_fuchsia_pkg_ext

Trait Measurable

Source
pub trait Measurable {
    // Required method
    fn measure(&self) -> usize;
}
Expand description

FIDL types that can have their in-line and out-of-line message byte payload size measured.

Required Methods§

Source

fn measure(&self) -> usize

Determine the message byte count for this instance.

Implementations on Foreign Types§

Source§

impl Measurable for BlobId

Source§

fn measure(&self) -> usize

Source§

impl Measurable for BlobInfo

Source§

fn measure(&self) -> usize

Source§

impl Measurable for PackageIndexEntry

Source§

fn measure(&self) -> usize

Implementors§