pub struct CallFuture<'a, M: RawMutex, T, R, F, const S: usize> { /* private fields */ }Expand description
Future returned by RpcService::call.
This future is cancel-safe. See RpcService::call for details.
Trait Implementations§
Source§impl<M, T, R, F, const S: usize> Future for CallFuture<'_, M, T, R, F, S>
impl<M, T, R, F, const S: usize> Future for CallFuture<'_, M, T, R, F, S>
impl<M: RawMutex, T, R, F, const S: usize> Unpin for CallFuture<'_, M, T, R, F, S>
Auto Trait Implementations§
impl<'a, M, T, R, F, const S: usize> Freeze for CallFuture<'a, M, T, R, F, S>where
F: Freeze,
impl<'a, M, T, R, F, const S: usize> !RefUnwindSafe for CallFuture<'a, M, T, R, F, S>
impl<'a, M, T, R, F, const S: usize> Send for CallFuture<'a, M, T, R, F, S>
impl<'a, M, T, R, F, const S: usize> Sync for CallFuture<'a, M, T, R, F, S>
impl<'a, M, T, R, F, const S: usize> !UnwindSafe for CallFuture<'a, M, T, R, F, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more