Enum pairlock::TryUpdateError[][src]

pub enum TryUpdateError {
    OtherUpdate,
    InactiveReads,
}

Error returned when a PairLock.try_update() fails, because it would otherwise have blocked.

Variants

Was locked by another update.

There were unfinished reads of the inactive value.

Trait Implementations

impl Clone for TryUpdateError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TryUpdateError
[src]

impl PartialEq for TryUpdateError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TryUpdateError
[src]

impl Error for TryUpdateError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for TryUpdateError
[src]

Formats the value using the given formatter. Read more

impl Debug for TryUpdateError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations