#[non_exhaustive]pub enum FlowOperationsError {
FlowScopesNotDeclared,
NotAList,
TooMany {
count: usize,
},
DuplicateOperation {
operation: String,
},
UnknownOperation {
operation: String,
},
}Expand description
Why a ModuleManifest::flow_operations list is dropped.
A dropped list leaves the manifest as if the module had not declared one; it never refuses HELLO.
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.
FlowScopesNotDeclared
The manifest provides neither flow-scopes/v1 nor call-modes/v1, so it
admits no flow-scoped call for the list to narrow.
NotAList
The wire value is not an array of strings.
TooMany
The list holds more than MAX_FLOW_OPERATIONS names.
DuplicateOperation
The same name appears more than once.
UnknownOperation
The name is not a management operation declared by the same manifest.
Trait Implementations§
Source§impl Clone for FlowOperationsError
impl Clone for FlowOperationsError
Source§impl Debug for FlowOperationsError
impl Debug for FlowOperationsError
Source§impl Display for FlowOperationsError
impl Display for FlowOperationsError
impl Eq for FlowOperationsError
Source§impl Error for FlowOperationsError
impl Error for FlowOperationsError
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 FlowOperationsError
impl PartialEq for FlowOperationsError
impl StructuralPartialEq for FlowOperationsError
Auto Trait Implementations§
impl Forget for FlowOperationsError
impl Freeze for FlowOperationsError
impl RefUnwindSafe for FlowOperationsError
impl Send for FlowOperationsError
impl Sync for FlowOperationsError
impl Unpin for FlowOperationsError
impl UnsafeUnpin for FlowOperationsError
impl UnwindSafe for FlowOperationsError
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