pub trait StateReadDecode: StateRead + Send + Sync {
    // Provided method
    fn get_bcs<'a, T>(
        &self,
        key: &'a str
    ) -> Pin<Box<dyn Future<Output = Result<Option<T>>> + Send + 'a>>
       where T: DeserializeOwned { ... }
}

Provided Methods§

source

fn get_bcs<'a, T>( &self, key: &'a str ) -> Pin<Box<dyn Future<Output = Result<Option<T>>> + Send + 'a>>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: StateRead + ?Sized> StateReadDecode for T