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