pub trait ResultExt {
    // Required method
    fn into_raw_zx_status(self) -> zx_status_t;
}

Required Methods§

source

fn into_raw_zx_status(self) -> zx_status_t

Returns ZX_OK if Self is Ok, otherwise, prints an error and turns Self into a corresponding ZX_ERR_*.

Implementations on Foreign Types§

source§

impl ResultExt for Result<(), Error>

source§

fn into_raw_zx_status(self) -> zx_status_t

Implementors§