SettingsSerializeExt

Trait SettingsSerializeExt 

Source
pub trait SettingsSerializeExt:
    Any
    + Send
    + Sync {
    // Required method
    fn serialize<'life0, 'async_trait>(
        &'life0 self,
        serializer: SettingsSerializer,
    ) -> Pin<Box<dyn Future<Output = Result<SettingsSerializer, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn serialize<'life0, 'async_trait>( &'life0 self, serializer: SettingsSerializer, ) -> Pin<Box<dyn Future<Output = Result<SettingsSerializer, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl<T: SettingsSerializeExt + ?Sized + Send + Sync> SettingsSerializeExt for Box<T>

Source§

fn serialize<'life0, 'async_trait>( &'life0 self, serializer: SettingsSerializer, ) -> Pin<Box<dyn Future<Output = Result<SettingsSerializer, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§