fedimint_core::core

Trait IClientConfig

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

Required Methods§

Source

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

Source

fn module_kind(&self) -> Option<ModuleKind>

Source

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

Source

fn dyn_hash(&self) -> u64

Source

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

Source

fn to_json(&self) -> Option<Value>

Implementors§