pub trait CredStoreConsumer {
    type Output;

    // Required method
    fn consume<C: CredStore>(self, cred_store: C) -> Self::Output;
}
Expand description

Trait for types which can consume a [CredStore] implementation.

Required Associated Types§

Required Methods§

source

fn consume<C: CredStore>(self, cred_store: C) -> Self::Output

Implementors§

source§

impl CredStoreConsumer for NodeCredConsumer

§

type Output = Result<Arc<dyn Creds + 'static>, Error>