Enum pairlock::TryUpdateError [−][src]
pub enum TryUpdateError { OtherUpdate, InactiveReads, }
Error returned when a PairLock.try_update()
fails,
because it would otherwise have blocked.
Variants
OtherUpdate
Was locked by another update.
InactiveReads
There were unfinished reads of the inactive value.
Trait Implementations
impl Clone for TryUpdateError
[src]
impl Clone for TryUpdateError
fn clone(&self) -> TryUpdateError
[src]
fn clone(&self) -> TryUpdateError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for TryUpdateError
[src]
impl Copy for TryUpdateError
impl PartialEq for TryUpdateError
[src]
impl PartialEq for TryUpdateError
fn eq(&self, other: &TryUpdateError) -> bool
[src]
fn eq(&self, other: &TryUpdateError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for TryUpdateError
[src]
impl Eq for TryUpdateError
impl Error for TryUpdateError
[src]
impl Error for TryUpdateError
fn description(&self) -> &'static str
[src]
fn description(&self) -> &'static str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for TryUpdateError
[src]
impl Display for TryUpdateError
fn fmt(&self, fmtr: &mut Formatter) -> Result
[src]
fn fmt(&self, fmtr: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Debug for TryUpdateError
[src]
impl Debug for TryUpdateError
Auto Trait Implementations
impl Send for TryUpdateError
impl Send for TryUpdateError
impl Sync for TryUpdateError
impl Sync for TryUpdateError