Trait fidl_fuchsia_pkg_ext::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§