pub trait InspectSinkProxyInterface: Send + Sync {
type FetchEscrowResponseFut: Future<Output = Result<InspectSinkFetchEscrowResponse, Error>> + Send;
// Required methods
fn publish(&self, payload: InspectSinkPublishRequest) -> Result<(), Error>;
fn escrow(&self, payload: InspectSinkEscrowRequest) -> Result<(), Error>;
fn fetch_escrow(
&self,
payload: InspectSinkFetchEscrowRequest,
) -> Self::FetchEscrowResponseFut;
}Required Associated Types§
type FetchEscrowResponseFut: Future<Output = Result<InspectSinkFetchEscrowResponse, Error>> + Send
Required Methods§
fn publish(&self, payload: InspectSinkPublishRequest) -> Result<(), Error>
fn escrow(&self, payload: InspectSinkEscrowRequest) -> Result<(), Error>
fn fetch_escrow( &self, payload: InspectSinkFetchEscrowRequest, ) -> Self::FetchEscrowResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".