fidl_fuchsia_logger

Trait LogProxyInterface

Source
pub trait LogProxyInterface: Send + Sync {
    // Required methods
    fn listen_safe(
        &self,
        log_listener: ClientEnd<LogListenerSafeMarker>,
        options: Option<&LogFilterOptions>,
    ) -> Result<(), Error>;
    fn dump_logs_safe(
        &self,
        log_listener: ClientEnd<LogListenerSafeMarker>,
        options: Option<&LogFilterOptions>,
    ) -> Result<(), Error>;
    fn listen_safe_with_selectors(
        &self,
        log_listener: ClientEnd<LogListenerSafeMarker>,
        options: Option<&LogFilterOptions>,
        selectors: &[LogInterestSelector],
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn listen_safe( &self, log_listener: ClientEnd<LogListenerSafeMarker>, options: Option<&LogFilterOptions>, ) -> Result<(), Error>

Source

fn dump_logs_safe( &self, log_listener: ClientEnd<LogListenerSafeMarker>, options: Option<&LogFilterOptions>, ) -> Result<(), Error>

Source

fn listen_safe_with_selectors( &self, log_listener: ClientEnd<LogListenerSafeMarker>, options: Option<&LogFilterOptions>, selectors: &[LogInterestSelector], ) -> Result<(), Error>

Implementors§