pub struct Grants {
pub grants: Vec<Grant>,
}Expand description
The write word: the stores ONE poll entry granted its ticks, grant by grant.
DECLARATION ORDER IS THE CONTRACT here too, for a different reason than Polls’: a poll entry’s
order is the position its ticks arrive under, and a grant’s order is the order that clock’s
emitted context takes its type parameters and constructor arguments in. Reordering the word
therefore reorders a new call, which is why it is the declaration’s order and not a sorted one
— the author reads their own list back.
Fields§
§grants: Vec<Grant>The grants, in declaration order.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Grants
impl !Sync for Grants
impl Freeze for Grants
impl RefUnwindSafe for Grants
impl Unpin for Grants
impl UnsafeUnpin for Grants
impl UnwindSafe for Grants
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