pub trait FidlReturn {
type Item;
// Required method
fn squash_result(self) -> Result<Self::Item, Error>;
}
Expand description
Helper trait to reduce boilerplate issuing FIDL calls.
pub trait FidlReturn {
type Item;
// Required method
fn squash_result(self) -> Result<Self::Item, Error>;
}
Helper trait to reduce boilerplate issuing FIDL calls.