pub type RootDiskDirectory = DiskDirectory<DiskKeyFileManager>;
Expand description

Root keys directory implementation

Aliased Type§

struct RootDiskDirectory { /* private fields */ }

Implementations§

source§

impl RootDiskDirectory

source

pub fn create<P>(path: P) -> Result<Self, Error>
where P: AsRef<Path>,

source

pub fn with_password(&self, password: Option<Password>) -> Self

allows to read keyfiles with given password (needed for keyfiles w/o address)

source

pub fn at<P>(path: P) -> Self
where P: AsRef<Path>,