fedimint_client::module::recovery

Trait IModuleBackup

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

Required Methods§

Implementations on Foreign Types§

Source§

impl IModuleBackup for DynUnknown

Implementors§

Source§

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