Skip to main content

MediatedConnector

Trait MediatedConnector 

Source
pub trait MediatedConnector: Send + Sync {
    // Required method
    fn invoke(
        &self,
        request: &ConnectorInvokeRequest,
    ) -> Result<ConnectorInvokeResponse, String>;
}
Expand description

A host-owned activated connector. Its implementation is never visible to a guest.

Required Methods§

Source

fn invoke( &self, request: &ConnectorInvokeRequest, ) -> Result<ConnectorInvokeResponse, String>

§Errors

Returns a stable, non-secret failure description when the host-owned connector cannot complete the requested operation.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§