mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-13 19:27:52 +01:00
remove old Request trait
This commit is contained in:
parent
9b8d9eba9b
commit
a9c97c5074
1 changed files with 0 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue