Struct abc::Error [] [src]

pub struct Error;

Unifies the errors thrown by a hive's operation.

The only errors expected within the hive code are associated with getting read and/or write locks on aspects of the hive's data. These errors occur if a thread panics while holding the lock -- a situation that we do not particularly expect.

Nevertheless, this Error represents a panic, most likely in one of the hive's worker threads.

Trait Implementations

impl Error for Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for Error

fn fmt(&self, f: &mut Formatter) -> Result

impl<T> From<PoisonError<T>> for Error

fn from(_: PoisonError<T>) -> Error

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result