fidl_fuchsia_logger

Trait LogListenerSafeProxyInterface

Source
pub trait LogListenerSafeProxyInterface: Send + Sync {
    type LogResponseFut: Future<Output = Result<(), Error>> + Send;
    type LogManyResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn log(&self, log: &LogMessage) -> Self::LogResponseFut;
    fn log_many(&self, log: &[LogMessage]) -> Self::LogManyResponseFut;
    fn done(&self) -> Result<(), Error>;
}

Required Associated Types§

Source

type LogResponseFut: Future<Output = Result<(), Error>> + Send

Source

type LogManyResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

fn log(&self, log: &LogMessage) -> Self::LogResponseFut

Source

fn log_many(&self, log: &[LogMessage]) -> Self::LogManyResponseFut

Source

fn done(&self) -> Result<(), Error>

Implementors§