pub enum AError {
}Variants§
AsyncNotStarted
AsyncNotReady
AsyncRunning
AsyncFailed
AsyncStale
AsyncValuePulled
AsyncValueMoved
AsyncValueEmpty
NoValueFn
NoReadyFn
MutexPoisoned
NoThreadPool
OtherError(Arc<Error>)
Implementations§
Source§impl AError
impl AError
pub fn async_not_ready() -> AError
pub fn async_running() -> AError
pub fn async_pulled() -> AError
pub fn async_moved() -> AError
pub fn async_empty() -> AError
pub fn async_stale() -> AError
pub fn no_value_fn() -> AError
pub fn no_ready_fn() -> AError
pub fn mutex_poisoned() -> AError
pub fn no_thread_pool() -> AError
Trait Implementations§
Source§impl Fail for AError
impl Fail for AError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl<T> From<PoisonError<T>> for AError
impl<T> From<PoisonError<T>> for AError
Source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AError
impl !RefUnwindSafe for AError
impl Send for AError
impl Sync for AError
impl Unpin for AError
impl UnsafeUnpin for AError
impl !UnwindSafe for AError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more