pub trait DebugLog {
    // Required methods
    fn read(&self) -> Result<zx_log_record_t, Status>;
    fn ready_signal(&self) -> impl Future<Output = Result<(), Status>> + Send;
}

Required Methods§

source

fn read(&self) -> Result<zx_log_record_t, Status>

Reads a single entry off the debug log into buffer. Any existing contents in buffer are overwritten.

source

fn ready_signal(&self) -> impl Future<Output = Result<(), Status>> + Send

Returns a future that completes when there is another log to read.

Object Safety§

This trait is not object safe.

Implementors§