Trait cog_rust::CogResponse

source ·
pub trait CogResponse: Send {
    // Required method
    fn into_response<'async_trait>(
        self,
        upload_url: Request
    ) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

A response from a cog

Required Methods§

source

fn into_response<'async_trait>( self, upload_url: Request ) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where Self: 'async_trait,

Implementors§