Enum dynalock::error::DynaErrorKind
[−]
[src]
pub enum DynaErrorKind { UnhandledError, ProviderError, LockAlreadyAcquired, }
An enum of errors to represent the possible kinds of DynaError
.
Variants
UnhandledError
Unhandled error from another crate or the standard library.
ProviderError
Provider error from another crate.
LockAlreadyAcquired
Lock has been acquired by another processor.
Methods
impl DynaErrorKind
[src]
Trait Implementations
impl Debug for DynaErrorKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for DynaErrorKind
[src]
impl Clone for DynaErrorKind
[src]
fn clone(&self) -> DynaErrorKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for DynaErrorKind
[src]
impl PartialEq for DynaErrorKind
[src]
fn eq(&self, __arg_0: &DynaErrorKind) -> bool
[src]
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]
This method tests for !=
.
impl Display for DynaErrorKind
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<DynaErrorKind> for DynaError
[src]
fn from(kind: DynaErrorKind) -> DynaError
[src]
Performs the conversion.