pub enum ParameterOrchestrationError<E>{
Declaration(ResidencyDeclarationError),
Store(StoreError),
Recipe(RecipeError),
InvalidParameterIdentity(String),
DuplicateBinding {
parameter: ParameterId,
},
ByteMismatch {
parameter: String,
expected: u64,
actual: u64,
},
MissingBinding {
parameter: ParameterId,
},
UnexpectedBindings {
parameters: Vec<ParameterId>,
},
Backend(E),
}Expand description
Failure in backend-neutral parameter materialization or binding.
Variants§
Declaration(ResidencyDeclarationError)
Binding aliases were invalid before materialization began.
Store(StoreError)
Neutral checkpoint access failed.
Recipe(RecipeError)
Neutral recipe validation failed.
InvalidParameterIdentity(String)
A stable runtime parameter identity was invalid.
DuplicateBinding
Two bindings targeted the same stable parameter.
Fields
§
parameter: ParameterIdDuplicated identity.
ByteMismatch
Inferred and declared materialized byte sizes disagreed.
Fields
MissingBinding
A traversed parameter had no realized value.
Fields
§
parameter: ParameterIdMissing parameter identity.
UnexpectedBindings
Realized values remained after complete parameter traversal.
Fields
§
parameters: Vec<ParameterId>Unknown parameter identities.
Backend(E)
Backend-native realization or binding failed.
Trait Implementations§
Source§impl<E> Debug for ParameterOrchestrationError<E>
impl<E> Debug for ParameterOrchestrationError<E>
Source§impl<E> Display for ParameterOrchestrationError<E>
impl<E> Display for ParameterOrchestrationError<E>
Source§impl<E> Error for ParameterOrchestrationError<E>
impl<E> Error for ParameterOrchestrationError<E>
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<E> From<RecipeError> for ParameterOrchestrationError<E>
impl<E> From<RecipeError> for ParameterOrchestrationError<E>
Source§fn from(source: RecipeError) -> Self
fn from(source: RecipeError) -> Self
Converts to this type from the input type.
Source§impl<E> From<ResidencyDeclarationError> for ParameterOrchestrationError<E>
impl<E> From<ResidencyDeclarationError> for ParameterOrchestrationError<E>
Source§fn from(source: ResidencyDeclarationError) -> Self
fn from(source: ResidencyDeclarationError) -> Self
Converts to this type from the input type.
Source§impl<E> From<StoreError> for ParameterOrchestrationError<E>
impl<E> From<StoreError> for ParameterOrchestrationError<E>
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for ParameterOrchestrationError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ParameterOrchestrationError<E>where
E: RefUnwindSafe,
impl<E> Send for ParameterOrchestrationError<E>
impl<E> Sync for ParameterOrchestrationError<E>
impl<E> Unpin for ParameterOrchestrationError<E>where
E: Unpin,
impl<E> UnsafeUnpin for ParameterOrchestrationError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for ParameterOrchestrationError<E>where
E: UnwindSafe,
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