Struct twilight_http::request::channel::stage::GetStageInstance
source · pub struct GetStageInstance<'a> { /* private fields */ }Expand description
Gets the stage instance associated with a stage channel, if it exists.
Implementations§
source§impl<'a> GetStageInstance<'a>
impl<'a> GetStageInstance<'a>
sourcepub fn exec(self) -> ResponseFuture<StageInstance> ⓘ
👎Deprecated since 0.14.0: use .await or into_future instead
pub fn exec(self) -> ResponseFuture<StageInstance> ⓘ
.await or into_future insteadExecute the request, returning a future resolving to a Response.
Trait Implementations§
source§impl IntoFuture for GetStageInstance<'_>
impl IntoFuture for GetStageInstance<'_>
§type Output = Result<Response<StageInstance>, Error>
type Output = Result<Response<StageInstance>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<StageInstance>
type IntoFuture = ResponseFuture<StageInstance>
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