Enum anchors::expert::Poll[][src]

pub enum Poll {
    Updated,
    Unchanged,
    Pending,
}

Indicates whether a value is ready for reading, and if it is, whether it’s changed since the last read.

Variants

Updated

Indicates the polled value is ready for reading. Either this is the first read, or the value has changed since the last read.

Unchanged

Indicates the polled value is ready for reading. This is not the first read, and the value is unchanged since the previous read.

Pending

Indicates the polled value is not ready for reading, but has been queued for recalculation. The output value will eventually switch to Updated or Unchanged.

Trait Implementations

impl Debug for Poll[src]

impl Eq for Poll[src]

impl PartialEq<Poll> for Poll[src]

impl StructuralEq for Poll[src]

impl StructuralPartialEq for Poll[src]

Auto Trait Implementations

impl RefUnwindSafe for Poll

impl Send for Poll

impl Sync for Poll

impl Unpin for Poll

impl UnwindSafe for Poll

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.