pub enum FloxideError {
Generic(String),
Cancelled,
Timeout(Duration),
NotStarted,
AlreadyCompleted,
}Variants§
Generic(String)
Cancelled
The workflow was cancelled via its cancellation token.
Timeout(Duration)
The workflow timed out after the specified duration.
NotStarted
The workflow was never started, so cannot be resumed.
AlreadyCompleted
The workflow has already completed; no more work to resume.
Trait Implementations§
Source§impl Clone for FloxideError
impl Clone for FloxideError
Source§fn clone(&self) -> FloxideError
fn clone(&self) -> FloxideError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FloxideError
impl Debug for FloxideError
Source§impl Display for FloxideError
impl Display for FloxideError
Source§impl Error for FloxideError
impl Error for FloxideError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for FloxideError
impl RefUnwindSafe for FloxideError
impl Send for FloxideError
impl Sync for FloxideError
impl Unpin for FloxideError
impl UnwindSafe for FloxideError
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