pub enum DriverError {
GraphMismatch {
expected: String,
received: String,
},
NodeNotFound(String),
StaleGenerationResult {
node_id: String,
expected: u64,
received: u64,
},
ResultSourceMismatch {
node_id: String,
expected: String,
received: String,
},
InvocationMismatch {
node_id: String,
expected: String,
received: String,
},
AttemptTokenMismatch {
node_id: String,
expected: String,
received: String,
},
StaleResultCursor {
node_id: String,
current: u64,
received: u64,
},
ScopeAdmissionBarrierActive,
NodeExecution(NodeExecutionError),
}Expand description
Errors originating in continuous driver operations.
Variants§
GraphMismatch
NodeNotFound(String)
StaleGenerationResult
ResultSourceMismatch
InvocationMismatch
AttemptTokenMismatch
StaleResultCursor
ScopeAdmissionBarrierActive
NodeExecution(NodeExecutionError)
Trait Implementations§
Source§impl Clone for DriverError
impl Clone for DriverError
Source§fn clone(&self) -> DriverError
fn clone(&self) -> DriverError
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 DriverError
impl Debug for DriverError
Source§impl<'de> Deserialize<'de> for DriverError
impl<'de> Deserialize<'de> for DriverError
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DriverError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DriverError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DriverError
impl Display for DriverError
impl Eq for DriverError
Source§impl Error for DriverError
impl Error for DriverError
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<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 DriverError
impl PartialEq for DriverError
Source§impl Serialize for DriverError
impl Serialize for DriverError
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 DriverError
Auto Trait Implementations§
impl Forget for DriverError
impl Freeze for DriverError
impl Move for DriverError
impl RefUnwindSafe for DriverError
impl Send for DriverError
impl Sync for DriverError
impl Unpin for DriverError
impl UnsafeUnpin for DriverError
impl UnwindSafe for DriverError
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.