#[non_exhaustive]pub enum ArchitectureStateRealizationError<ArchitectureError, FactoryError> {
Architecture(ArchitectureError),
Factory(FactoryError),
LayoutMismatch,
}Expand description
Failure while selecting and realizing architecture-authored mutable state.
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.
Architecture(ArchitectureError)
The architecture could not derive its authoritative state layout.
Factory(FactoryError)
The selected backend mechanism could not realize the layout.
LayoutMismatch
The backend returned state whose layout differs from the selected value.
Trait Implementations§
Source§impl<ArchitectureError: Debug, FactoryError: Debug> Debug for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
impl<ArchitectureError: Debug, FactoryError: Debug> Debug for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
Source§impl<ArchitectureError, FactoryError> Display for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
impl<ArchitectureError, FactoryError> Display for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
Source§impl<ArchitectureError, FactoryError> Error for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
impl<ArchitectureError, FactoryError> Error for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
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()
Auto Trait Implementations§
impl<ArchitectureError, FactoryError> Freeze for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
impl<ArchitectureError, FactoryError> RefUnwindSafe for ArchitectureStateRealizationError<ArchitectureError, FactoryError>where
ArchitectureError: RefUnwindSafe,
FactoryError: RefUnwindSafe,
impl<ArchitectureError, FactoryError> Send for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
impl<ArchitectureError, FactoryError> Sync for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
impl<ArchitectureError, FactoryError> Unpin for ArchitectureStateRealizationError<ArchitectureError, FactoryError>
impl<ArchitectureError, FactoryError> UnsafeUnpin for ArchitectureStateRealizationError<ArchitectureError, FactoryError>where
ArchitectureError: UnsafeUnpin,
FactoryError: UnsafeUnpin,
impl<ArchitectureError, FactoryError> UnwindSafe for ArchitectureStateRealizationError<ArchitectureError, FactoryError>where
ArchitectureError: UnwindSafe,
FactoryError: 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