pub(crate) struct RiotStylePollStruct<A: RiotStyleFuture> {
args: A,
waker: Option<Waker>,
}
Available on
riot_module_sock_udp
and riot_module_sock_aux_local
and crate feature with_embedded_nal_async
only.Expand description
Wrapper that makes a Future out of a RiotStyleFuture (see there for usage)
Fields§
§args: A
§waker: Option<Waker>
Implementations§
Source§impl<A: RiotStyleFuture> RiotStylePollStruct<A>
impl<A: RiotStyleFuture> RiotStylePollStruct<A>
Source§impl<A: RiotStyleFuture> RiotStylePollStruct<A>
impl<A: RiotStyleFuture> RiotStylePollStruct<A>
Trait Implementations§
Source§impl<A: RiotStyleFuture> Future for RiotStylePollStruct<A>
impl<A: RiotStyleFuture> Future for RiotStylePollStruct<A>
Source§type Output = <A as RiotStyleFuture>::Output
type Output = <A as RiotStyleFuture>::Output
The type of value produced on completion.
impl<'pin, A: RiotStyleFuture> Unpin for RiotStylePollStruct<A>where
PinnedFieldsOf<__RiotStylePollStruct<'pin, A>>: Unpin,
Auto Trait Implementations§
impl<A> Freeze for RiotStylePollStruct<A>where
A: Freeze,
impl<A> RefUnwindSafe for RiotStylePollStruct<A>where
A: RefUnwindSafe,
impl<A> Send for RiotStylePollStruct<A>where
A: Send,
impl<A> Sync for RiotStylePollStruct<A>where
A: Sync,
impl<A> UnwindSafe for RiotStylePollStruct<A>where
A: UnwindSafe,
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
Source§impl<T> IntoSwitch for T
impl<T> IntoSwitch for T
Source§fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
Source§fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.