pub struct Router<Bank, Custom, Wasm, Staking, Distr> {
pub bank: Bank,
pub custom: Custom,
pub staking: Staking,
pub distribution: Distr,
// some fields omitted
}
impl<BankT, CustomT, WasmT, StakingT, DistrT> Router<BankT, CustomT, WasmT, StakingT, DistrT> where
CustomT::ExecT: Clone + Debug + PartialEq + JsonSchema + DeserializeOwned + 'static,
CustomT::QueryT: CustomQuery + DeserializeOwned + 'static,
CustomT: Module,
WasmT: Wasm<CustomT::ExecT, CustomT::QueryT>,
BankT: Bank,
StakingT: Staking,
DistrT: Distribution,
impl<Bank, Custom, Wasm, Staking, Distr> Send for Router<Bank, Custom, Wasm, Staking, Distr> where
Bank: Send,
Custom: Send,
Distr: Send,
Staking: Send,
Wasm: Send,
impl<Bank, Custom, Wasm, Staking, Distr> Sync for Router<Bank, Custom, Wasm, Staking, Distr> where
Bank: Sync,
Custom: Sync,
Distr: Sync,
Staking: Sync,
Wasm: Sync,
impl<Bank, Custom, Wasm, Staking, Distr> Unpin for Router<Bank, Custom, Wasm, Staking, Distr> where
Bank: Unpin,
Custom: Unpin,
Distr: Unpin,
Staking: Unpin,
Wasm: Unpin,
impl<Bank, Custom, Wasm, Staking, Distr> UnwindSafe for Router<Bank, Custom, Wasm, Staking, Distr> where
Bank: UnwindSafe,
Custom: UnwindSafe,
Distr: UnwindSafe,
Staking: UnwindSafe,
Wasm: UnwindSafe,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.