Struct teloxide_core::adaptors::auto_send::AutoRequest
source · pub struct AutoRequest<R>(_);
👎Deprecated since 0.8.0:
AutoSend
is no longer required to .await
requests and is now noopAvailable on crate feature
auto_send
only.Implementations§
Trait Implementations§
source§impl<R: Request> HasPayload for AutoRequest<R>
impl<R: Request> HasPayload for AutoRequest<R>
§type Payload = <R as HasPayload>::Payload
type Payload = <R as HasPayload>::Payload
The type of the payload contained.
source§fn payload_mut(&mut self) -> &mut Self::Payload
fn payload_mut(&mut self) -> &mut Self::Payload
Gain mutable access to the underlying payload.
source§fn payload_ref(&self) -> &Self::Payload
fn payload_ref(&self) -> &Self::Payload
Gain immutable access to the underlying payload.
source§impl<R: Request> IntoFuture for AutoRequest<R>
impl<R: Request> IntoFuture for AutoRequest<R>
§type Output = Result<<<R as HasPayload>::Payload as Payload>::Output, <R as Request>::Err>
type Output = Result<<<R as HasPayload>::Payload as Payload>::Output, <R as Request>::Err>
The output that the future will produce on completion.
§type IntoFuture = <R as Request>::Send
type IntoFuture = <R as Request>::Send
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more