pub trait PuppetProxyInterface: Send + Sync {
    type CreateInspectorResponseFut: Future<Output = Result<ClientEnd<InspectWriterMarker>, 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 create_inspector(
        &self,
        payload: &InspectPuppetCreateInspectorRequest,
    ) -> Self::CreateInspectorResponseFut;
    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>;
}

Required Associated Types§

Required Methods§

Implementors§

source§

impl PuppetProxyInterface for PuppetProxy

§

type CreateInspectorResponseFut = QueryResponseFut<ClientEnd<InspectWriterMarker>>

§

type PrintlnResponseFut = QueryResponseFut<()>

§

type EprintlnResponseFut = QueryResponseFut<()>

§

type LogResponseFut = QueryResponseFut<()>

§

type WaitForInterestChangeResponseFut = QueryResponseFut<LogPuppetWaitForInterestChangeResponse>

§

type RecordLazyValuesResponseFut = QueryResponseFut<ClientEnd<LazyInspectPuppetMarker>>