Struct ruplicity::signatures::Chain
source · pub struct Chain { /* private fields */ }
Expand description
Stores information about paths in a backup chain.
The information is reused among different snapshots if possible.
Implementations§
source§impl Chain
impl Chain
sourcepub fn from_sigchain<B: Backend>(
coll: &SignatureChain,
backend: &B
) -> Result<Self>
pub fn from_sigchain<B: Backend>( coll: &SignatureChain, backend: &B ) -> Result<Self>
Opens a signature chain from signature chain files, by using a backend.
The given signature chain file names are read by using the given backend, to build the
corresponding Chain
instance.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnwindSafe for Chain
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more