pub struct PollRow<K> {
pub key: K,
pub object: ObjectIdentifier,
pub wanted: Vec<(PropertyIdentifier, Option<u32>)>,
pub one_by_one: usize,
}Expand description
One row of a poll: what it reads of which object.
Fields§
§key: KThe caller’s name for the row.
object: ObjectIdentifierThe object read.
wanted: Vec<(PropertyIdentifier, Option<u32>)>The properties a ReadPropertyMultiple asks for, each with its array element if one; the first is the watched one.
one_by_one: usizeHow many of wanted, from the first, are read one by one by
ReadProperty when RPM isn’t used; at least one.
Trait Implementations§
impl<K: Eq> Eq for PollRow<K>
impl<K: PartialEq> StructuralPartialEq for PollRow<K>
Auto Trait Implementations§
impl<K> Freeze for PollRow<K>where
K: Freeze,
impl<K> RefUnwindSafe for PollRow<K>where
K: RefUnwindSafe,
impl<K> Send for PollRow<K>where
K: Send,
impl<K> Sync for PollRow<K>where
K: Sync,
impl<K> Unpin for PollRow<K>where
K: Unpin,
impl<K> UnsafeUnpin for PollRow<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for PollRow<K>where
K: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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