Struct teloxide::adaptors::auto_send::AutoRequest[][src]

pub struct AutoRequest<R>(_)
where
    R: Request
;

Implementations

impl<R> AutoRequest<R> where
    R: Request
[src]

pub fn new(inner: R) -> AutoRequest<R>

Notable traits for AutoRequest<R>

impl<R> Future for AutoRequest<R> where
    R: Request
type Output = Result<<<R as HasPayload>::Payload as Payload>::Output, <R as Request>::Err>;
[src]

Trait Implementations

impl<R> FusedFuture for AutoRequest<R> where
    R: Request
[src]

impl<R> Future for AutoRequest<R> where
    R: Request
[src]

type Output = Result<<<R as HasPayload>::Payload as Payload>::Output, <R as Request>::Err>

The type of value produced on completion.

impl<R> HasPayload for AutoRequest<R> where
    R: Request
[src]

type Payload = <R as HasPayload>::Payload

The type of the payload contained.

impl<R> Request for AutoRequest<R> where
    R: Request
[src]

type Err = <R as Request>::Err

The type of an error that may happen while sending a request to Telegram. Read more

type Send = <R as Request>::Send

The type of the future returned by the send method.

type SendRef = <R as Request>::SendRef

A type of the future returned by the send_ref method. Read more

impl<'pin, R> Unpin for AutoRequest<R> where
    R: Request,
    __AutoRequest<'pin, R>: Unpin
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for AutoRequest<R> where
    R: RefUnwindSafe,
    <R as Request>::Send: RefUnwindSafe

impl<R> Send for AutoRequest<R> where
    R: Send

impl<R> Sync for AutoRequest<R> where
    R: Sync,
    <R as Request>::Send: Sync

impl<R> UnwindSafe for AutoRequest<R> where
    R: UnwindSafe,
    <R as Request>::Send: UnwindSafe

Blanket Implementations

impl<P> AddStickerToSetSetters for P where
    P: HasPayload<Payload = AddStickerToSet>, 
[src]

impl<P> AnswerCallbackQuerySetters for P where
    P: HasPayload<Payload = AnswerCallbackQuery>, 
[src]

impl<P> AnswerInlineQuerySetters for P where
    P: HasPayload<Payload = AnswerInlineQuery>, 
[src]

impl<P> AnswerPreCheckoutQuerySetters for P where
    P: HasPayload<Payload = AnswerPreCheckoutQuery>, 
[src]

impl<P> AnswerShippingQuerySetters for P where
    P: HasPayload<Payload = AnswerShippingQuery>, 
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<P> CloseSetters for P where
    P: HasPayload<Payload = Close>, 
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices

type Remainder = Choices

impl<P> CopyMessageSetters for P where
    P: HasPayload<Payload = CopyMessage>, 
[src]

impl<P> CreateChatInviteLinkSetters for P where
    P: HasPayload<Payload = CreateChatInviteLink>, 
[src]

impl<P> CreateNewStickerSetSetters for P where
    P: HasPayload<Payload = CreateNewStickerSet>, 
[src]

impl<P> DeleteChatPhotoSetters for P where
    P: HasPayload<Payload = DeleteChatPhoto>, 
[src]

impl<P> DeleteChatStickerSetSetters for P where
    P: HasPayload<Payload = DeleteChatStickerSet>, 
[src]

impl<P> DeleteMessageSetters for P where
    P: HasPayload<Payload = DeleteMessage>, 
[src]

impl<P> DeleteStickerFromSetSetters for P where
    P: HasPayload<Payload = DeleteStickerFromSet>, 
[src]

impl<P> DeleteWebhookSetters for P where
    P: HasPayload<Payload = DeleteWebhook>, 
[src]

impl<P> EditChatInviteLinkSetters for P where
    P: HasPayload<Payload = EditChatInviteLink>, 
[src]

impl<P> EditMessageCaptionInlineSetters for P where
    P: HasPayload<Payload = EditMessageCaptionInline>, 
[src]

impl<P> EditMessageCaptionSetters for P where
    P: HasPayload<Payload = EditMessageCaption>, 
[src]

impl<P> EditMessageLiveLocationInlineSetters for P where
    P: HasPayload<Payload = EditMessageLiveLocationInline>, 
[src]

impl<P> EditMessageLiveLocationSetters for P where
    P: HasPayload<Payload = EditMessageLiveLocation>, 
[src]

impl<P> EditMessageMediaInlineSetters for P where
    P: HasPayload<Payload = EditMessageMediaInline>, 
[src]

impl<P> EditMessageMediaSetters for P where
    P: HasPayload<Payload = EditMessageMedia>, 
[src]

impl<P> EditMessageReplyMarkupInlineSetters for P where
    P: HasPayload<Payload = EditMessageReplyMarkupInline>, 
[src]

impl<P> EditMessageReplyMarkupSetters for P where
    P: HasPayload<Payload = EditMessageReplyMarkup>, 
[src]

impl<P> EditMessageTextInlineSetters for P where
    P: HasPayload<Payload = EditMessageTextInline>, 
[src]

impl<P> EditMessageTextSetters for P where
    P: HasPayload<Payload = EditMessageText>, 
[src]

impl<P> ExportChatInviteLinkSetters for P where
    P: HasPayload<Payload = ExportChatInviteLink>, 
[src]

impl<T> FmtForward for T

impl<P> ForwardMessageSetters for P where
    P: HasPayload<Payload = ForwardMessage>, 
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T where
    T: Future + ?Sized

impl<P> GetChatAdministratorsSetters for P where
    P: HasPayload<Payload = GetChatAdministrators>, 
[src]

impl<P> GetChatMemberSetters for P where
    P: HasPayload<Payload = GetChatMember>, 
[src]

impl<P> GetChatMembersCountSetters for P where
    P: HasPayload<Payload = GetChatMembersCount>, 
[src]

impl<P> GetChatSetters for P where
    P: HasPayload<Payload = GetChat>, 
[src]

impl<P> GetFileSetters for P where
    P: HasPayload<Payload = GetFile>, 
[src]

impl<P> GetGameHighScoresSetters for P where
    P: HasPayload<Payload = GetGameHighScores>, 
[src]

impl<P> GetMeSetters for P where
    P: HasPayload<Payload = GetMe>, 
[src]

impl<P> GetMyCommandsSetters for P where
    P: HasPayload<Payload = GetMyCommands>, 
[src]

impl<P> GetStickerSetSetters for P where
    P: HasPayload<Payload = GetStickerSet>, 
[src]

impl<P> GetUpdatesSetters for P where
    P: HasPayload<Payload = GetUpdates>, 
[src]

impl<P> GetUserProfilePhotosSetters for P where
    P: HasPayload<Payload = GetUserProfilePhotos>, 
[src]

impl<P> GetWebhookInfoSetters for P where
    P: HasPayload<Payload = GetWebhookInfo>, 
[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

impl<P> KickChatMemberSetters for P where
    P: HasPayload<Payload = KickChatMember>, 
[src]

impl<P> LeaveChatSetters for P where
    P: HasPayload<Payload = LeaveChat>, 
[src]

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 

impl<P> LogOutSetters for P where
    P: HasPayload<Payload = LogOut>, 
[src]

impl<P> PinChatMessageSetters for P where
    P: HasPayload<Payload = PinChatMessage>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<P> PromoteChatMemberSetters for P where
    P: HasPayload<Payload = PromoteChatMember>, 
[src]

impl<P> RestrictChatMemberSetters for P where
    P: HasPayload<Payload = RestrictChatMember>, 
[src]

impl<P> RevokeChatInviteLinkSetters for P where
    P: HasPayload<Payload = RevokeChatInviteLink>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source

type Remainder = Source

impl<P> SendAnimationSetters for P where
    P: HasPayload<Payload = SendAnimation>, 
[src]

impl<P> SendAudioSetters for P where
    P: HasPayload<Payload = SendAudio>, 
[src]

impl<P> SendChatActionSetters for P where
    P: HasPayload<Payload = SendChatAction>, 
[src]

impl<P> SendContactSetters for P where
    P: HasPayload<Payload = SendContact>, 
[src]

impl<P> SendDiceSetters for P where
    P: HasPayload<Payload = SendDice>, 
[src]

impl<P> SendDocumentSetters for P where
    P: HasPayload<Payload = SendDocument>, 
[src]

impl<P> SendGameSetters for P where
    P: HasPayload<Payload = SendGame>, 
[src]

impl<P> SendInvoiceSetters for P where
    P: HasPayload<Payload = SendInvoice>, 
[src]

impl<P> SendLocationSetters for P where
    P: HasPayload<Payload = SendLocation>, 
[src]

impl<P> SendMediaGroupSetters for P where
    P: HasPayload<Payload = SendMediaGroup>, 
[src]

impl<P> SendMessageSetters for P where
    P: HasPayload<Payload = SendMessage>, 
[src]

impl<P> SendPhotoSetters for P where
    P: HasPayload<Payload = SendPhoto>, 
[src]

impl<P> SendPollSetters for P where
    P: HasPayload<Payload = SendPoll>, 
[src]

impl<P> SendStickerSetters for P where
    P: HasPayload<Payload = SendSticker>, 
[src]

impl<P> SendVenueSetters for P where
    P: HasPayload<Payload = SendVenue>, 
[src]

impl<P> SendVideoNoteSetters for P where
    P: HasPayload<Payload = SendVideoNote>, 
[src]

impl<P> SendVideoSetters for P where
    P: HasPayload<Payload = SendVideo>, 
[src]

impl<P> SendVoiceSetters for P where
    P: HasPayload<Payload = SendVoice>, 
[src]

impl<P> SetChatAdministratorCustomTitleSetters for P where
    P: HasPayload<Payload = SetChatAdministratorCustomTitle>, 
[src]

impl<P> SetChatDescriptionSetters for P where
    P: HasPayload<Payload = SetChatDescription>, 
[src]

impl<P> SetChatPermissionsSetters for P where
    P: HasPayload<Payload = SetChatPermissions>, 
[src]

impl<P> SetChatPhotoSetters for P where
    P: HasPayload<Payload = SetChatPhoto>, 
[src]

impl<P> SetChatStickerSetSetters for P where
    P: HasPayload<Payload = SetChatStickerSet>, 
[src]

impl<P> SetChatTitleSetters for P where
    P: HasPayload<Payload = SetChatTitle>, 
[src]

impl<P> SetGameScoreInlineSetters for P where
    P: HasPayload<Payload = SetGameScoreInline>, 
[src]

impl<P> SetGameScoreSetters for P where
    P: HasPayload<Payload = SetGameScore>, 
[src]

impl<P> SetMyCommandsSetters for P where
    P: HasPayload<Payload = SetMyCommands>, 
[src]

impl<P> SetPassportDataErrorsSetters for P where
    P: HasPayload<Payload = SetPassportDataErrors>, 
[src]

impl<P> SetStickerPositionInSetSetters for P where
    P: HasPayload<Payload = SetStickerPositionInSet>, 
[src]

impl<P> SetStickerSetThumbSetters for P where
    P: HasPayload<Payload = SetStickerSetThumb>, 
[src]

impl<P> SetWebhookSetters for P where
    P: HasPayload<Payload = SetWebhook>, 
[src]

impl<P> StopMessageLiveLocationInlineSetters for P where
    P: HasPayload<Payload = StopMessageLiveLocationInline>, 
[src]

impl<P> StopMessageLiveLocationSetters for P where
    P: HasPayload<Payload = StopMessageLiveLocation>, 
[src]

impl<P> StopPollSetters for P where
    P: HasPayload<Payload = StopPoll>, 
[src]

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<P> UnbanChatMemberSetters for P where
    P: HasPayload<Payload = UnbanChatMember>, 
[src]

impl<P> UnpinAllChatMessagesSetters for P where
    P: HasPayload<Payload = UnpinAllChatMessages>, 
[src]

impl<P> UnpinChatMessageSetters for P where
    P: HasPayload<Payload = UnpinChatMessage>, 
[src]

impl<P> UploadStickerFileSetters for P where
    P: HasPayload<Payload = UploadStickerFile>, 
[src]