pub type InstancelessDynClientOutputBundle = ClientOutputBundle<Box<dyn IOutput + 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 InstancelessDynClientOutputBundle { /* private fields */ }
Implementations
Source§impl<O, S> ClientOutputBundle<O, S>
impl<O, S> ClientOutputBundle<O, S>
pub fn outputs(&self) -> &[ClientOutput<O>]
Source§impl<O, S> ClientOutputBundle<O, S>
impl<O, S> ClientOutputBundle<O, S>
pub fn new( outputs: Vec<ClientOutput<O>>, sm_gens: Vec<ClientOutputSM<S>>, ) -> ClientOutputBundle<O, S>
pub fn sms(&self) -> &[ClientOutputSM<S>]
pub fn with(self, other: ClientOutputBundle<O, S>) -> ClientOutputBundle<O, S>
pub fn into_instanceless( self, ) -> ClientOutputBundle<Box<dyn IOutput + Send + Sync>, Box<dyn IState + Send + Sync>>
Trait Implementations
Source§impl<O, S> Clone for ClientOutputBundle<O, S>
impl<O, S> Clone for ClientOutputBundle<O, S>
Source§fn clone(&self) -> ClientOutputBundle<O, S>
fn clone(&self) -> ClientOutputBundle<O, 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<O, S> Debug for ClientOutputBundle<O, S>
impl<O, S> Debug for ClientOutputBundle<O, S>
Source§impl IntoDynInstance for ClientOutputBundle<Box<dyn IOutput + Send + Sync>, Box<dyn IState + Send + Sync>>
impl IntoDynInstance for ClientOutputBundle<Box<dyn IOutput + Send + Sync>, Box<dyn IState + Send + Sync>>
Source§type DynType = ClientOutputBundle
type DynType = ClientOutputBundle
The type erased version of the type implementing this trait
Source§fn into_dyn(self, module_instance_id: u16) -> ClientOutputBundle
fn into_dyn(self, module_instance_id: u16) -> ClientOutputBundle
Convert
self
into its type-erased equivalentSource§impl<I, S> IntoDynInstance for ClientOutputBundle<I, S>where
I: IntoDynInstance<DynType = DynOutput> + 'static,
S: IntoDynInstance<DynType = DynState> + 'static,
impl<I, S> IntoDynInstance for ClientOutputBundle<I, S>where
I: IntoDynInstance<DynType = DynOutput> + 'static,
S: IntoDynInstance<DynType = DynState> + 'static,
Source§type DynType = ClientOutputBundle
type DynType = ClientOutputBundle
The type erased version of the type implementing this trait
Source§fn into_dyn(self, module_instance_id: u16) -> ClientOutputBundle
fn into_dyn(self, module_instance_id: u16) -> ClientOutputBundle
Convert
self
into its type-erased equivalent