pub struct PendingRespOrDefault<T>(/* private fields */);Implementations§
Source§impl<T> PendingRespOrDefault<T>where
T: Default,
impl<T> PendingRespOrDefault<T>where
T: Default,
pub fn blocking_recv(self) -> T
Trait Implementations§
Source§impl<T> Future for PendingRespOrDefault<T>where
T: Default,
impl<T> Future for PendingRespOrDefault<T>where
T: Default,
Auto Trait Implementations§
impl<T> Freeze for PendingRespOrDefault<T>
impl<T> !RefUnwindSafe for PendingRespOrDefault<T>
impl<T> Send for PendingRespOrDefault<T>where
T: Send,
impl<T> Sync for PendingRespOrDefault<T>where
T: Send,
impl<T> Unpin for PendingRespOrDefault<T>
impl<T> !UnwindSafe for PendingRespOrDefault<T>
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