pub struct PdgSelect {
pub name: String,
pub line: usize,
pub at: usize,
pub futures: Vec<usize>,
pub handlers: Vec<usize>,
}Expand description
A select! or join! written in the body: futures polled together at one await. For
select!, the first to finish wins and the others are dropped where they stopped.
Fields§
§name: StringThe macro’s name (select, join, …) and the line it is called on.
line: usize§at: usizeThe block of the await that polls the futures.
futures: Vec<usize>Calls inside the macro that run before that await: they build the futures.
handlers: Vec<usize>Calls inside the macro that run only after it: the arms’ handlers.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PdgSelect
impl<'de> Deserialize<'de> for PdgSelect
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for PdgSelect
impl Freeze for PdgSelect
impl Move for PdgSelect
impl RefUnwindSafe for PdgSelect
impl Send for PdgSelect
impl Sync for PdgSelect
impl Unpin for PdgSelect
impl UnsafeUnpin for PdgSelect
impl UnwindSafe for PdgSelect
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