Trait ErrorCodeFetching

Source
pub trait ErrorCodeFetching:
    Interface
    + Send
    + Sync {
    // Required methods
    fn get<'life0, 'async_trait>(
        &'life0 self,
        prefix: String,
        code: i32,
    ) -> Pin<Box<dyn Future<Output = Result<FetchResponseKind<ErrorCode, (String, i32)>, MappedErrors>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list<'life0, 'async_trait>(
        &'life0 self,
        prefix: Option<String>,
        code: Option<i32>,
        is_internal: Option<bool>,
        page_size: Option<i32>,
        skip: Option<i32>,
    ) -> Pin<Box<dyn Future<Output = Result<FetchManyResponseKind<ErrorCode>, MappedErrors>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get<'life0, 'async_trait>( &'life0 self, prefix: String, code: i32, ) -> Pin<Box<dyn Future<Output = Result<FetchResponseKind<ErrorCode, (String, i32)>, MappedErrors>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn list<'life0, 'async_trait>( &'life0 self, prefix: Option<String>, code: Option<i32>, is_internal: Option<bool>, page_size: Option<i32>, skip: Option<i32>, ) -> Pin<Box<dyn Future<Output = Result<FetchManyResponseKind<ErrorCode>, MappedErrors>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§