pub enum AionSurfaceError {
DispatchFailed {
channel_name: String,
workflow_id: String,
message: String,
},
WorkerCrashed {
channel_name: String,
workflow_id: String,
worker_id: String,
message: String,
},
SignalDeliveryFailed {
channel_name: String,
workflow_id: String,
signal_name: String,
message: String,
},
SignalValidationFailed {
channel_name: String,
workflow_id: String,
signal_name: String,
message: String,
},
StreamingFailed {
channel_name: String,
workflow_id: String,
message: String,
},
InvalidChannelName {
part: String,
input: String,
message: String,
},
ChannelLifecycleError {
channel_name: String,
message: String,
},
}Expand description
Error taxonomy for Aion’s liminal integration surface.
Variants§
DispatchFailed
Selecting a worker or completing the dispatch conversation failed.
Fields
WorkerCrashed
A linked worker process exited while handling work.
Fields
SignalDeliveryFailed
Publishing to a workflow signal channel failed.
Fields
SignalValidationFailed
A signal payload did not match the workflow’s declared signal type.
Fields
StreamingFailed
Publishing or subscribing to workflow history failed.
Fields
InvalidChannelName
A namespace, workflow id, or task queue input cannot form an Aion channel name.
Fields
ChannelLifecycleError
Creating or tearing down an Aion channel failed.
Trait Implementations§
Source§impl Clone for AionSurfaceError
impl Clone for AionSurfaceError
Source§fn clone(&self) -> AionSurfaceError
fn clone(&self) -> AionSurfaceError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AionSurfaceError
impl Debug for AionSurfaceError
Source§impl Display for AionSurfaceError
impl Display for AionSurfaceError
impl Eq for AionSurfaceError
Source§impl Error for AionSurfaceError
impl Error for AionSurfaceError
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()
Source§impl PartialEq for AionSurfaceError
impl PartialEq for AionSurfaceError
Source§fn eq(&self, other: &AionSurfaceError) -> bool
fn eq(&self, other: &AionSurfaceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AionSurfaceError
Auto Trait Implementations§
impl Freeze for AionSurfaceError
impl RefUnwindSafe for AionSurfaceError
impl Send for AionSurfaceError
impl Sync for AionSurfaceError
impl Unpin for AionSurfaceError
impl UnsafeUnpin for AionSurfaceError
impl UnwindSafe for AionSurfaceError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.