Struct twilight_http::request::channel::thread::JoinThread
source · [−]pub struct JoinThread<'a> { /* private fields */ }
Expand description
Add the current user to a thread.
Implementations
sourceimpl<'a> JoinThread<'a>
impl<'a> JoinThread<'a>
sourcepub fn exec(self) -> ResponseFuture<EmptyBody>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<EmptyBody>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl TryIntoRequest for JoinThread<'_>
impl TryIntoRequest for JoinThread<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for JoinThread<'a>
impl<'a> Send for JoinThread<'a>
impl<'a> Sync for JoinThread<'a>
impl<'a> Unpin for JoinThread<'a>
impl<'a> !UnwindSafe for JoinThread<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more