pub trait PuppetProxyInterface: Send + Sync {
type SetHealthOkResponseFut: Future<Output = Result<(), Error>> + Send;
type RecordStringResponseFut: Future<Output = Result<(), Error>> + Send;
type RecordIntResponseFut: Future<Output = Result<(), Error>> + Send;
type EmitExampleInspectDataResponseFut: Future<Output = Result<(), Error>> + Send;
type PrintlnResponseFut: Future<Output = Result<(), Error>> + Send;
type EprintlnResponseFut: 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
) -> Self::RecordStringResponseFut;
fn record_int(&self, key: &str, value: i64) -> Self::RecordIntResponseFut;
fn emit_example_inspect_data(
&self
) -> Self::EmitExampleInspectDataResponseFut;
fn println(&self, message: &str) -> Self::PrintlnResponseFut;
fn eprintln(&self, message: &str) -> Self::EprintlnResponseFut;
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>;
}