trait SecretsReaderExt {
// Required methods
fn read_in_task_if<'life0, 'async_trait>(
&'life0 self,
in_task: InTask,
id: GlobalId,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_string_in_task_if<'life0, 'async_trait>(
&'life0 self,
in_task: InTask,
id: GlobalId,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
An extension trait for SecretsReader