Struct ChainSnapshot
pub struct ChainSnapshot { /* private fields */ }Implementations§
§impl ChainSnapshot
impl ChainSnapshot
pub fn new(
metadata: ChainMetadata,
contracts: Vec<ChainContractSnapshot>,
) -> Result<Self, FerroRiskError>
pub fn new( metadata: ChainMetadata, contracts: Vec<ChainContractSnapshot>, ) -> Result<Self, FerroRiskError>
pub fn metadata(&self) -> &ChainMetadata
pub fn contracts(&self) -> &[ChainContractSnapshot]
Trait Implementations§
§impl Clone for ChainSnapshot
impl Clone for ChainSnapshot
§fn clone(&self) -> ChainSnapshot
fn clone(&self) -> ChainSnapshot
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl PartialEq for ChainSnapshot
impl PartialEq for ChainSnapshot
impl StructuralPartialEq for ChainSnapshot
Auto Trait Implementations§
impl Freeze for ChainSnapshot
impl RefUnwindSafe for ChainSnapshot
impl Send for ChainSnapshot
impl Sync for ChainSnapshot
impl Unpin for ChainSnapshot
impl UnsafeUnpin for ChainSnapshot
impl UnwindSafe for ChainSnapshot
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)