[][src]Trait tbot::prelude::IntoFuture

pub trait IntoFuture where
    <Self::Future as Future>::Item == Self::Item,
    <Self::Future as Future>::Error == Self::Error
{ type Future: Future; type Item; type Error; fn into_future(self) -> Self::Future; }

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.

Loading content...

Required methods

fn into_future(self) -> Self::Future

Consumes this object and produces a future.

Loading content...

Implementations on Foreign Types

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]

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

impl<T, E> IntoFuture for Result<T, E>[src]

type Future = FutureResult<T, E>

type Item = T

type Error = E

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]

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

impl<A, B> IntoFuture for (A, B) where
    A: IntoFuture,
    B: IntoFuture<Error = <A as IntoFuture>::Error>, 
[src]

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

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]

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

impl IntoFuture for Spawn[src]

type Future = FutureResult<(), ()>

type Item = ()

type Error = ()

Loading content...

Implementors

impl<'_, C> IntoFuture for AddStickerToSet<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for AnswerCallbackQuery<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for AnswerInlineQuery<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for AnswerPreCheckoutQuery<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for AnswerShippingQuery<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for CreateNewStickerSet<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for DeleteChatPhoto<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for DeleteChatStickerSet<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for DeleteMessage<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for DeleteStickerFromSet<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for EditInlineCaption<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for EditInlineLocation<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for EditInlineMedia<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for EditInlineReplyMarkup<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for EditInlineText<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for EditMessageCaption<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for EditMessageLocation<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for EditMessageMedia<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for EditMessageReplyMarkup<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for EditMessageText<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for ExportChatInviteLink<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = String

type Error = MethodCall

impl<'_, C> IntoFuture for ForwardMessage<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for GetChat<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Chat

type Error = MethodCall

impl<'_, C> IntoFuture for GetChatAdministrators<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Vec<Member>

type Error = MethodCall

impl<'_, C> IntoFuture for GetChatMember<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Member

type Error = MethodCall

impl<'_, C> IntoFuture for GetChatMembersCount<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = u32

type Error = MethodCall

impl<'_, C> IntoFuture for GetFile<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = File

type Error = MethodCall

impl<'_, C> IntoFuture for GetInlineGameHighScores<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Vec<HighScore>

type Error = MethodCall

impl<'_, C> IntoFuture for GetMe<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = User

type Error = MethodCall

impl<'_, C> IntoFuture for GetMessageGameHighScores<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Vec<HighScore>

type Error = MethodCall

impl<'_, C> IntoFuture for GetStickerSet<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Set

type Error = MethodCall

impl<'_, C> IntoFuture for GetUserProfilePhotos<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ProfilePhotos

type Error = MethodCall

impl<'_, C> IntoFuture for GetWebhookInfo<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = WebhookInfo

type Error = MethodCall

impl<'_, C> IntoFuture for KickChatMember<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for LeaveChat<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for PinChatMessage<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for PromoteChatMember<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for RestrictChatMember<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SendAnimation<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendAudio<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendChatAction<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SendContact<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendDocument<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendGame<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendInvoice<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendLocation<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendMediaGroup<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Vec<Message>

type Error = MethodCall

impl<'_, C> IntoFuture for SendMessage<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendPhoto<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendPoll<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendSticker<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendVenue<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendVideo<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendVideoNote<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SendVoice<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SetChatDescription<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SetChatPermissions<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SetChatPhoto<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SetChatStickerSet<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SetChatTitle<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SetInlineGameScore<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SetMessageGameScore<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for SetPassportDataErrors<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for SetStickerPositionInSet<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for StopInlineLocation<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for StopMessageLocation<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Message

type Error = MethodCall

impl<'_, C> IntoFuture for StopPoll<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = Poll

type Error = MethodCall

impl<'_, C> IntoFuture for UnbanChatMember<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for UnpinChatMessage<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = MethodCall

impl<'_, C> IntoFuture for UploadStickerFile<'_, C> where
    C: Connect + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = File

type Error = MethodCall

impl<'a, C> IntoFuture for Webhook<'a, C> where
    C: Connect + Clone + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = Webhook

impl<C> IntoFuture for Polling<C> where
    C: Connect + Clone + Sync + 'static,
    C::Transport: 'static,
    C::Future: 'static, 
[src]

type Future = Box<dyn Future<Item = Self::Item, Error = Self::Error> + Send>

type Item = ()

type Error = Error

impl<F> IntoFuture for F where
    F: Future
[src]

type Future = F

type Item = <F as Future>::Item

type Error = <F as Future>::Error

Loading content...