Trait rustic_core::Open
source · pub trait Open {
// Required methods
fn cache(&self) -> Option<&Cache>;
fn dbe(&self) -> &DecryptBackend<Key>;
fn config(&self) -> &ConfigFile;
}Expand description
A repository which is open, i.e. the password has been checked and the decryption key is available.
Required Methods§
sourcefn dbe(&self) -> &DecryptBackend<Key>
fn dbe(&self) -> &DecryptBackend<Key>
Get the DecryptBackend
sourcefn config(&self) -> &ConfigFile
fn config(&self) -> &ConfigFile
Get the ConfigFile