pub enum NodeExecutionError {
InvalidStateTransition {
current: NodeLifecycleState,
attempted: String,
},
CapabilityUnsupported(NodeCapability),
StopRequestedMonotonic,
InvocationNotFound(String),
InvocationSettled(String),
AdapterError(AdapterError),
}Expand description
Errors originating during node facade operations.
Variants§
InvalidStateTransition
CapabilityUnsupported(NodeCapability)
StopRequestedMonotonic
InvocationNotFound(String)
InvocationSettled(String)
AdapterError(AdapterError)
Trait Implementations§
Source§impl Clone for NodeExecutionError
impl Clone for NodeExecutionError
Source§fn clone(&self) -> NodeExecutionError
fn clone(&self) -> NodeExecutionError
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 NodeExecutionError
impl Debug for NodeExecutionError
Source§impl<'de> Deserialize<'de> for NodeExecutionError
impl<'de> Deserialize<'de> for NodeExecutionError
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeExecutionError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeExecutionError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NodeExecutionError
impl Display for NodeExecutionError
impl Eq for NodeExecutionError
Source§impl Error for NodeExecutionError
impl Error for NodeExecutionError
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 From<AdapterError> for NodeExecutionError
impl From<AdapterError> for NodeExecutionError
Source§fn from(err: AdapterError) -> NodeExecutionError
fn from(err: AdapterError) -> NodeExecutionError
Converts to this type from the input type.
Source§impl From<NodeExecutionError> for DriverError
impl From<NodeExecutionError> for DriverError
Source§fn from(err: NodeExecutionError) -> DriverError
fn from(err: NodeExecutionError) -> DriverError
Converts to this type from the input type.
Source§impl PartialEq for NodeExecutionError
impl PartialEq for NodeExecutionError
Source§impl Serialize for NodeExecutionError
impl Serialize for NodeExecutionError
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NodeExecutionError
Auto Trait Implementations§
impl Forget for NodeExecutionError
impl Freeze for NodeExecutionError
impl Move for NodeExecutionError
impl RefUnwindSafe for NodeExecutionError
impl Send for NodeExecutionError
impl Sync for NodeExecutionError
impl Unpin for NodeExecutionError
impl UnsafeUnpin for NodeExecutionError
impl UnwindSafe for NodeExecutionError
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.