fedimint_core::core

Trait IInputError

source
pub trait IInputError:
    Debug
    + Display
    + DynEncodable {
    // Required methods
    fn as_any(&self) -> &(dyn Any + Send + Sync);
    fn module_kind(&self) -> Option<ModuleKind>;
    fn clone(&self, module_instance_id: ModuleInstanceId) -> DynInputError;
    fn dyn_hash(&self) -> u64;
    fn erased_eq_no_instance_id(&self, other: &DynInputError) -> bool;
}

Required Methods§

source

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

source

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

source

fn clone(&self, module_instance_id: ModuleInstanceId) -> DynInputError

source

fn dyn_hash(&self) -> u64

source

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

Implementors§

source§

impl IInputError for DynUnknown

source§

impl<T> IInputError for T
where T: InputError + DynEncodable + 'static + Send + Sync,