Enum breadthread::Error [−][src]
pub enum Error<InnerError> {
InvalidPtr(NonZeroUsize),
Closed,
UnableToComplete,
AlreadyABreadThread,
NotInBreadThread,
Controller(InnerError),
}
Expand description
An error occurred during operation of breadthread
.
Variants
Directive contained external pointers that didn’t belong.
Tuple Fields of InvalidPtr
0: NonZeroUsize
The bread thread has ceased operation.
The controller failed to complete processing a directive.
Attempted to turn a thread that was already a bread thread into a bread thread.
We are not in the bread thread.
A controller-associated error has occurred.
Trait Implementations
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<InnerError> RefUnwindSafe for Error<InnerError> where
InnerError: RefUnwindSafe,
impl<InnerError> UnwindSafe for Error<InnerError> where
InnerError: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more