pub trait PuppetProxyInterface: Send + Sync {
    type SetHealthOkResponseFut: Future<Output = Result<(), Error>> + Send;
    type LogResponseFut: Future<Output = Result<(), Error>> + Send;
    type WaitForInterestChangeResponseFut: Future<Output = Result<LogPuppetWaitForInterestChangeResponse, Error>> + Send;
    type RecordLazyValuesResponseFut: Future<Output = Result<ClientEnd<LazyInspectPuppetMarker>, Error>> + Send;

    // Required methods
    fn set_health_ok(&self) -> Self::SetHealthOkResponseFut;
    fn record_string(&self, key: &str, value: &str) -> Result<(), Error>;
    fn record_int(&self, key: &str, value: i64) -> Result<(), Error>;
    fn emit_example_inspect_data(
        &self,
        rows: i64,
        columns: i64
    ) -> Result<(), Error>;
    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;
    fn record_lazy_values(&self, key: &str) -> Self::RecordLazyValuesResponseFut;
    fn crash(&self, message: &str) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

source

fn set_health_ok(&self) -> Self::SetHealthOkResponseFut

source

fn record_string(&self, key: &str, value: &str) -> Result<(), Error>

source

fn record_int(&self, key: &str, value: i64) -> Result<(), Error>

source

fn emit_example_inspect_data( &self, rows: i64, columns: i64 ) -> Result<(), Error>

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

source

fn record_lazy_values(&self, key: &str) -> Self::RecordLazyValuesResponseFut

source

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

Implementors§