remove old Request trait

This commit is contained in:
Waffle 2019-11-27 17:19:57 +03:00
parent 9b8d9eba9b
commit a9c97c5074

View file

@ -10,16 +10,6 @@ pub mod multipart;
/// A type that is returned when making requests to telegram
pub type ResponseResult<T> = Result<T, crate::RequestError>;
///// A request that can be sent to Telegram.
//#[async_trait]
//pub trait Request {
// /// A type of response.
// type Output: DeserializeOwned; // TODO: do we need this bound _here_?
//
// /// Send this request.
// async fn send_boxed(self) -> ResponseResult<Self::Output>;
//}
/// Signature of telegram method.
pub trait Method {
/// Return-type of the method.