fedimint_client::module::recovery

Trait IModuleBackup

source
pub trait IModuleBackup: Debug + DynEncodable {
    // Required methods
    fn as_any(&self) -> &(dyn Any + Send + Sync);
    fn clone(&self, instance_id: ModuleInstanceId) -> DynModuleBackup;
    fn erased_eq_no_instance_id(&self, other: &DynModuleBackup) -> bool;
}

Required Methods§

source

fn as_any(&self) -> &(dyn Any + Send + Sync)

source

fn clone(&self, instance_id: ModuleInstanceId) -> DynModuleBackup

source

fn erased_eq_no_instance_id(&self, other: &DynModuleBackup) -> bool

Implementations on Foreign Types§

source§

impl IModuleBackup for DynUnknown

source§

fn as_any(&self) -> &(dyn Any + Send + Sync)

source§

fn clone(&self, instance_id: ModuleInstanceId) -> DynModuleBackup

source§

fn erased_eq_no_instance_id(&self, other: &DynModuleBackup) -> bool

Implementors§

source§

impl<T> IModuleBackup for T
where T: ModuleBackup,