Skip to main content

Resolved

Type Alias Resolved 

Source
pub type Resolved = Result<Option<Box<dyn CredentialStore>>, String>;
Expand description

The resolved backend: Ok(None) for the file store, Ok(Some(_)) for a working keychain, Err for a keychain that was asked for but is unreachable.

Aliased Type§

pub enum Resolved {
    Ok(Option<Box<dyn CredentialStore>>),
    Err(String),
}

Variants§

§1.0.0

Ok(Option<Box<dyn CredentialStore>>)

Contains the success value

§1.0.0

Err(String)

Contains the error value