Trait wasmcloud_runtime::component::Bus

source ·
pub trait Bus {
    // Required method
    fn set_link_name<'life0, 'async_trait>(
        &'life0 self,
        link_name: String,
        interfaces: Vec<Arc<CallTargetInterface>>,
    ) -> Pin<Box<dyn Future<Output = Result<Result<(), String>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

wasmcloud:bus/lattice@2.0.0 implementation

Required Methods§

Set the link name to use for a given list of interfaces, returning an error if a link doesn’t exist on the given interfaces for the given target

Implementors§