[−][src]Trait tbot::prelude::IntoFuture
Class of types which can be converted into a future.
This trait is very similar to the IntoIterator
trait and is intended to be
used in a very similar fashion.
Associated Types
type Future: Future
The future that this type can be converted into.
type Item
The item that the future may resolve with.
type Error
The error that the future may resolve with.
Required methods
fn into_future(self) -> Self::Future
Consumes this object and produces a future.
Implementations on Foreign Types
impl<T, E> IntoFuture for Result<T, E>
[src]
type Future = FutureResult<T, E>
type Item = T
type Error = E
fn into_future(self) -> FutureResult<T, E>
[src]
impl<A, B> IntoFuture for (A, B) where
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
[src]
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
type Future = Join<<A as IntoFuture>::Future, <B as IntoFuture>::Future>
type Item = (<A as IntoFuture>::Item, <B as IntoFuture>::Item)
type Error = <A as IntoFuture>::Error
fn into_future(self) -> <(A, B) as IntoFuture>::Future
[src]
impl<A, B, C> IntoFuture for (A, B, C) where
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
C: IntoFuture<Error = <A as IntoFuture>::Error>,
[src]
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
C: IntoFuture<Error = <A as IntoFuture>::Error>,
type Future = Join3<<A as IntoFuture>::Future, <B as IntoFuture>::Future, <C as IntoFuture>::Future>
type Item = (<A as IntoFuture>::Item, <B as IntoFuture>::Item, <C as IntoFuture>::Item)
type Error = <A as IntoFuture>::Error
fn into_future(self) -> <(A, B, C) as IntoFuture>::Future
[src]
impl<A, B, C, D> IntoFuture for (A, B, C, D) where
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
C: IntoFuture<Error = <A as IntoFuture>::Error>,
D: IntoFuture<Error = <A as IntoFuture>::Error>,
[src]
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
C: IntoFuture<Error = <A as IntoFuture>::Error>,
D: IntoFuture<Error = <A as IntoFuture>::Error>,
type Future = Join4<<A as IntoFuture>::Future, <B as IntoFuture>::Future, <C as IntoFuture>::Future, <D as IntoFuture>::Future>
type Item = (<A as IntoFuture>::Item, <B as IntoFuture>::Item, <C as IntoFuture>::Item, <D as IntoFuture>::Item)
type Error = <A as IntoFuture>::Error
fn into_future(self) -> <(A, B, C, D) as IntoFuture>::Future
[src]
impl<A, B, C, D, E> IntoFuture for (A, B, C, D, E) where
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
C: IntoFuture<Error = <A as IntoFuture>::Error>,
D: IntoFuture<Error = <A as IntoFuture>::Error>,
E: IntoFuture<Error = <A as IntoFuture>::Error>,
[src]
A: IntoFuture,
B: IntoFuture<Error = <A as IntoFuture>::Error>,
C: IntoFuture<Error = <A as IntoFuture>::Error>,
D: IntoFuture<Error = <A as IntoFuture>::Error>,
E: IntoFuture<Error = <A as IntoFuture>::Error>,
type Future = Join5<<A as IntoFuture>::Future, <B as IntoFuture>::Future, <C as IntoFuture>::Future, <D as IntoFuture>::Future, <E as IntoFuture>::Future>
type Item = (<A as IntoFuture>::Item, <B as IntoFuture>::Item, <C as IntoFuture>::Item, <D as IntoFuture>::Item, <E as IntoFuture>::Item)
type Error = <A as IntoFuture>::Error
fn into_future(self) -> <(A, B, C, D, E) as IntoFuture>::Future
[src]
impl IntoFuture for Spawn
[src]
type Future = FutureResult<(), ()>
type Item = ()
type Error = ()
fn into_future(self) -> <Spawn as IntoFuture>::Future
[src]
Implementors
impl<'_, C> IntoFuture for AddStickerToSet<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for AnswerCallbackQuery<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for AnswerInlineQuery<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for AnswerPreCheckoutQuery<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for AnswerShippingQuery<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for CreateNewStickerSet<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for DeleteChatPhoto<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for DeleteChatStickerSet<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for DeleteMessage<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for DeleteStickerFromSet<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditInlineCaption<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditInlineLocation<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditInlineMedia<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditInlineReplyMarkup<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditInlineText<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditMessageCaption<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditMessageLocation<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditMessageMedia<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditMessageReplyMarkup<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for EditMessageText<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for ExportChatInviteLink<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = String
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for ForwardMessage<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetChat<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Chat
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetChatAdministrators<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Vec<Member>
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetChatMember<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Member
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetChatMembersCount<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = u32
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetFile<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = File
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetInlineGameHighScores<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Vec<HighScore>
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetMe<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = User
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetMessageGameHighScores<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Vec<HighScore>
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetStickerSet<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Set
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetUserProfilePhotos<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ProfilePhotos
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for GetWebhookInfo<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = WebhookInfo
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for KickChatMember<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for LeaveChat<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for PinChatMessage<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for PromoteChatMember<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for RestrictChatMember<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendAnimation<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendAudio<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendChatAction<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendContact<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendDocument<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendGame<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendInvoice<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendLocation<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendMediaGroup<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Vec<Message>
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendMessage<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendPhoto<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendPoll<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendSticker<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendVenue<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendVideo<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendVideoNote<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SendVoice<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetChatDescription<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetChatPermissions<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetChatPhoto<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetChatStickerSet<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetChatTitle<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetInlineGameScore<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetMessageGameScore<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetPassportDataErrors<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for SetStickerPositionInSet<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for StopInlineLocation<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for StopMessageLocation<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Message
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for StopPoll<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = Poll
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for UnbanChatMember<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for UnpinChatMessage<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'_, C> IntoFuture for UploadStickerFile<'_, C> where
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = File
type Error = MethodCall
fn into_future(self) -> Self::Future
[src]
impl<'a, C> IntoFuture for Webhook<'a, C> where
C: Connect + Clone + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Clone + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = Webhook
fn into_future(self) -> Self::Future
[src]
impl<C> IntoFuture for Polling<C> where
C: Connect + Clone + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
[src]
C: Connect + Clone + Sync + 'static,
C::Transport: 'static,
C::Future: 'static,
type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>
type Item = ()
type Error = Error
fn into_future(self) -> Self::Future
[src]
impl<F> IntoFuture for F where
F: Future,
[src]
F: Future,