wick_hostTrait Host
Source pub trait Host {
// Required methods
fn namespace(&self) -> &str;
fn get_signature(
&self,
path: Option<&[&str]>,
entity: Option<&Entity>,
) -> Result<ComponentSignature, HostError>;
fn invoke<'life0, 'async_trait>(
&'life0 self,
invocation: Invocation,
data: Option<RuntimeConfig>,
) -> Pin<Box<dyn Future<Output = Result<PacketStream, HostError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn invoke_deep<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: Option<&'life1 [&'life2 str]>,
invocation: Invocation,
data: Option<RuntimeConfig>,
) -> Pin<Box<dyn Future<Output = Result<PacketStream, HostError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_active_config(&self) -> WickConfiguration;
}