pub struct Recv<'a, 'b, T, R, M, const N: usize>where
T: Serialize + Clone + DeserializeOwned + 'static,
R: ScopedRawMutex + 'static,
M: InterfaceManager + 'static,{ /* private fields */ }Trait Implementations§
Source§impl<T, R, M, const N: usize> Future for Recv<'_, '_, T, R, M, N>where
T: Serialize + Clone + DeserializeOwned + 'static,
R: ScopedRawMutex + 'static,
M: InterfaceManager + 'static,
impl<T, R, M, const N: usize> Future for Recv<'_, '_, T, R, M, N>where
T: Serialize + Clone + DeserializeOwned + 'static,
R: ScopedRawMutex + 'static,
M: InterfaceManager + 'static,
Source§type Output = Result<OwnedMessage<T>, OwnedMessage<ProtocolError>>
type Output = Result<OwnedMessage<T>, OwnedMessage<ProtocolError>>
The type of value produced on completion.
Auto Trait Implementations§
impl<'a, 'b, T, R, M, const N: usize> Freeze for Recv<'a, 'b, T, R, M, N>
impl<'a, 'b, T, R, M, const N: usize> !RefUnwindSafe for Recv<'a, 'b, T, R, M, N>
impl<'a, 'b, T, R, M, const N: usize> Send for Recv<'a, 'b, T, R, M, N>where
T: Send,
impl<'a, 'b, T, R, M, const N: usize> Sync for Recv<'a, 'b, T, R, M, N>where
T: Send,
impl<'a, 'b, T, R, M, const N: usize> Unpin for Recv<'a, 'b, T, R, M, N>
impl<'a, 'b, T, R, M, const N: usize> !UnwindSafe for Recv<'a, 'b, T, R, M, N>
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