Trait wasmcloud_control_interface::kv::Build  
source · pub trait Buildwhere
    Self: Sized,{
    // Required method
    fn build<'life0, 'async_trait>(
        nc: Client,
        lattice_prefix: &'life0 str,
        js_domain: Option<String>
    ) -> Pin<Box<dyn Future<Output = Result<Self, Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}Expand description
A trait that defines the interface for a type that can build a KvStore
Required Methods§
sourcefn build<'life0, 'async_trait>(
    nc: Client,
    lattice_prefix: &'life0 str,
    js_domain: Option<String>
) -> Pin<Box<dyn Future<Output = Result<Self, Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
 
fn build<'life0, 'async_trait>( nc: Client, lattice_prefix: &'life0 str, js_domain: Option<String> ) -> Pin<Box<dyn Future<Output = Result<Self, Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Builds a KvStore using the given NATS client and lattice prefix
Object Safety§
This trait is not object safe.