Trait lta::async::ClientExt

source ·
pub trait ClientExt: Client {
    // Required methods
    async fn build_req_with_skip<T, T2>(
        &self,
        url: &str,
        skip: Option<u32>
    ) -> LTAResult<T2>
       where for<'de> T: Deserialize<'de> + Into<T2>;
    async fn build_req_with_query<T, T2, F>(
        &self,
        url: &str,
        query: F
    ) -> LTAResult<T2>
       where F: FnOnce(Self::RB) -> Self::RB,
             for<'de> T: Deserialize<'de> + Into<T2>;
}

Required Methods§

source

async fn build_req_with_skip<T, T2>( &self, url: &str, skip: Option<u32> ) -> LTAResult<T2>
where for<'de> T: Deserialize<'de> + Into<T2>,

source

async fn build_req_with_query<T, T2, F>( &self, url: &str, query: F ) -> LTAResult<T2>
where F: FnOnce(Self::RB) -> Self::RB, for<'de> T: Deserialize<'de> + Into<T2>,

Object Safety§

This trait is not object safe.

Implementors§