UtilityExtrinsics

Trait UtilityExtrinsics 

Source
pub trait UtilityExtrinsics {
    type Extrinsic<Call>;

    // Required methods
    fn batch<'life0, 'async_trait, Call>(
        &'life0 self,
        calls: Vec<Call>,
    ) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<BatchCall<Call>>>> + 'async_trait>>
       where Call: 'async_trait + Encode + Clone,
             Self: 'async_trait,
             'life0: 'async_trait;
    fn force_batch<'life0, 'async_trait, Call>(
        &'life0 self,
        calls: Vec<Call>,
    ) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<BatchCall<Call>>>> + 'async_trait>>
       where Call: 'async_trait + Encode + Clone,
             Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Source

type Extrinsic<Call>

Required Methods§

Source

fn batch<'life0, 'async_trait, Call>( &'life0 self, calls: Vec<Call>, ) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<BatchCall<Call>>>> + 'async_trait>>
where Call: 'async_trait + Encode + Clone, Self: 'async_trait, 'life0: 'async_trait,

Source

fn force_batch<'life0, 'async_trait, Call>( &'life0 self, calls: Vec<Call>, ) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<BatchCall<Call>>>> + 'async_trait>>
where Call: 'async_trait + Encode + Clone, Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§