pub type InstancelessDynClientInputBundle = ClientInputBundle<Box<dyn IInput + Send + Sync>, Box<dyn IState + Send + Sync>>;
Expand description
Re-exporting of everything from fedimint_client_module
This should be removed when the splitting of fedimint_client_module
is
complete.
Aliased Type§
struct InstancelessDynClientInputBundle { /* private fields */ }
Implementations
Source§impl<I, S> ClientInputBundle<I, S>
impl<I, S> ClientInputBundle<I, S>
pub fn new( inputs: Vec<ClientInput<I>>, sm_gens: Vec<ClientInputSM<S>>, ) -> ClientInputBundle<I, S>
pub fn inputs(&self) -> &[ClientInput<I>]
pub fn sms(&self) -> &[ClientInputSM<S>]
pub fn into_instanceless( self, ) -> ClientInputBundle<Box<dyn IInput + Send + Sync>, Box<dyn IState + Send + Sync>>
Trait Implementations
Source§impl<I, S> Clone for ClientInputBundle<I, S>
impl<I, S> Clone for ClientInputBundle<I, S>
Source§fn clone(&self) -> ClientInputBundle<I, S>
fn clone(&self) -> ClientInputBundle<I, S>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<I, S> Debug for ClientInputBundle<I, S>
impl<I, S> Debug for ClientInputBundle<I, S>
Source§impl IntoDynInstance for ClientInputBundle<Box<dyn IInput + Send + Sync>, Box<dyn IState + Send + Sync>>
impl IntoDynInstance for ClientInputBundle<Box<dyn IInput + Send + Sync>, Box<dyn IState + Send + Sync>>
Source§type DynType = ClientInputBundle
type DynType = ClientInputBundle
The type erased version of the type implementing this trait
Source§fn into_dyn(self, module_instance_id: u16) -> ClientInputBundle
fn into_dyn(self, module_instance_id: u16) -> ClientInputBundle
Convert
self
into its type-erased equivalentSource§impl<I, S> IntoDynInstance for ClientInputBundle<I, S>where
I: IntoDynInstance<DynType = DynInput> + 'static,
S: IntoDynInstance<DynType = DynState> + 'static,
impl<I, S> IntoDynInstance for ClientInputBundle<I, S>where
I: IntoDynInstance<DynType = DynInput> + 'static,
S: IntoDynInstance<DynType = DynState> + 'static,
Source§type DynType = ClientInputBundle
type DynType = ClientInputBundle
The type erased version of the type implementing this trait
Source§fn into_dyn(self, module_instance_id: u16) -> ClientInputBundle
fn into_dyn(self, module_instance_id: u16) -> ClientInputBundle
Convert
self
into its type-erased equivalent