Trait sda_client::KeyStorage [] [src]

pub trait KeyStorage<ID, K> {
    fn put(&self, id: &ID, key: &K) -> SdaClientResult<()>;
    fn get(&self, id: &ID) -> SdaClientResult<Option<K>>;
}

Trait for accessing keys stored in keystore.

Required Methods

Implementors