pub trait LogPuppetProxyInterface: Send + Sync {
    type LogResponseFut: Future<Output = Result<(), Error>> + Send;
    type WaitForInterestChangeResponseFut: Future<Output = Result<LogPuppetWaitForInterestChangeResponse, Error>> + Send;

    // Required methods
    fn println(&self, message: &str) -> Result<(), Error>;
    fn eprintln(&self, message: &str) -> Result<(), Error>;
    fn log(&self, payload: &LogPuppetLogRequest) -> Self::LogResponseFut;
    fn wait_for_interest_change(&self) -> Self::WaitForInterestChangeResponseFut;
}

Required Associated Types§

Required Methods§

source

fn println(&self, message: &str) -> Result<(), Error>

source

fn eprintln(&self, message: &str) -> Result<(), Error>

source

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

source

fn wait_for_interest_change(&self) -> Self::WaitForInterestChangeResponseFut

Implementors§