#[non_exhaustive]pub enum GraphFlowContextError {
MissingCurrentNode,
MissingCurrentPosition,
ParseNodeIndex(ParseIntError),
ParseTaskId(BoxDynError),
DuplicateEntry(MetadataError),
}Expand description
An error representing an invalid GraphFlowContext
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingCurrentNode
Missing current node key
MissingCurrentPosition
Missing current position key
ParseNodeIndex(ParseIntError)
Could not parse a node index
ParseTaskId(BoxDynError)
Could not parse a task_id
DuplicateEntry(MetadataError)
Duplicate entry
Trait Implementations§
Source§impl Debug for GraphFlowContextError
impl Debug for GraphFlowContextError
Source§impl Display for GraphFlowContextError
impl Display for GraphFlowContextError
Source§impl Error for GraphFlowContextError
impl Error for GraphFlowContextError
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<GraphFlowContextError> for GraphFlowError
impl From<GraphFlowContextError> for GraphFlowError
Source§fn from(source: GraphFlowContextError) -> Self
fn from(source: GraphFlowContextError) -> Self
Converts to this type from the input type.
Source§impl From<MetadataError> for GraphFlowContextError
impl From<MetadataError> for GraphFlowContextError
Source§fn from(source: MetadataError) -> Self
fn from(source: MetadataError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for GraphFlowContextError
impl From<ParseIntError> for GraphFlowContextError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GraphFlowContextError
impl !UnwindSafe for GraphFlowContextError
impl Freeze for GraphFlowContextError
impl Send for GraphFlowContextError
impl Sync for GraphFlowContextError
impl Unpin for GraphFlowContextError
impl UnsafeUnpin for GraphFlowContextError
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