Struct emerald_core::storage::ChainStorage
[−]
[src]
pub struct ChainStorage<'a> { pub id: String, // some fields omitted }
Subdir for a chain
Fields
id: String
subdir name
Methods
impl<'a> ChainStorage<'a>
[src]
fn new(base: &'a Storages, id: String) -> ChainStorage<'a>
Crate a new chain
fn init(&self) -> Result<(), Error>
Initialize a new chain
fn get_path(&self, id: String) -> Result<PathBuf, Error>
Get chain path
Trait Implementations
impl<'a> Debug for ChainStorage<'a>
[src]
impl<'a> Clone for ChainStorage<'a>
[src]
fn clone(&self) -> ChainStorage<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more