pub struct Poll {
pub appeared: Vec<InstanceId>,
pub withdrawn: Vec<InstanceId>,
pub next: BTreeSet<InstanceId>,
}Expand description
What one read of a poll found, compared with the last’s (§2.7; text 0.3, F-215).
Fields§
§appeared: Vec<InstanceId>The holders it shows that the last’s did not: appearances.
withdrawn: Vec<InstanceId>The last’s holders it shows gone, a complete read only: withdrawals.
next: BTreeSet<InstanceId>What the next read is compared with: a complete read’s holders, or, from a read not complete, the last’s with the new ones added, since it removes none.
Trait Implementations§
impl Eq for Poll
impl StructuralPartialEq for Poll
Auto Trait Implementations§
impl Forget for Poll
impl Freeze for Pollwhere
*const u8 is !null: Freeze,
PhantomData<InstanceId>: Freeze,
*const LeafNode<InstanceId, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(InstanceId, SetValZST)>>: Freeze,
impl Move for Poll
impl RefUnwindSafe for Poll
impl Send for Pollwhere
RawVecInner: Send,
NodeRef<Owned, InstanceId, SetValZST, LeafOrInternal>: Send,
BoxRaw<(InstanceId, SetValZST)>: Send,
impl Sync for Pollwhere
RawVecInner: Sync,
NodeRef<Owned, InstanceId, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(InstanceId, SetValZST)>: Sync,
impl Unpin for Pollwhere
*const u8 is !null: Unpin,
*const LeafNode<InstanceId, SetValZST> is !null: Unpin,
Box<(InstanceId, SetValZST)>: Unpin,
impl UnsafeUnpin for Pollwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<InstanceId>: UnsafeUnpin,
*const LeafNode<InstanceId, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(InstanceId, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for Poll
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more