wasmcloud_secrets_types

Trait SecretsServer

source
pub trait SecretsServer {
    // Required methods
    fn get<'life0, 'async_trait>(
        &'life0 self,
        request: SecretRequest,
    ) -> Pin<Box<dyn Future<Output = Result<SecretResponse, GetSecretError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn server_xkey(&self) -> XKey;
}

Required Methods§

source

fn get<'life0, 'async_trait>( &'life0 self, request: SecretRequest, ) -> Pin<Box<dyn Future<Output = Result<SecretResponse, GetSecretError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn server_xkey(&self) -> XKey

Implementors§