Skip to main content

DingtalkResource

Trait DingtalkResource 

Source
pub trait DingtalkResource {
    type T;

    // Required method
    fn fetch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        dingtalk: &'life1 DingTalkStream,
        save_to: PathBuf,
    ) -> Pin<Box<dyn Future<Output = Result<(PathBuf, Self::T)>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Associated Types§

Source

type T

Required Methods§

Source

fn fetch<'life0, 'life1, 'async_trait>( &'life0 self, dingtalk: &'life1 DingTalkStream, save_to: PathBuf, ) -> Pin<Box<dyn Future<Output = Result<(PathBuf, Self::T)>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§