pub trait DebugLog {
// Required methods
fn read(&self) -> Result<DebugLogRecord, Status>;
fn ready_signal(&self) -> impl Future<Output = Result<(), Status>> + Send;
}
Required Methods§
Sourcefn read(&self) -> Result<DebugLogRecord, Status>
fn read(&self) -> Result<DebugLogRecord, Status>
Reads a single entry off the debug log into buffer
. Any existing
contents in buffer
are overwritten.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.