#[non_exhaustive]pub enum LayeredPartitionError {
GroupNotOwned {
group: usize,
},
StorageRange {
storage: Range<usize>,
partition: Range<usize>,
},
MissingState,
StateRange {
state: Range<usize>,
partition: Range<usize>,
},
TokensOnNonInputOwner,
}Expand description
Invalid concrete realization or boundary use of a layered partition.
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.
GroupNotOwned
The selected architecture execution group is not owned by this partition.
StorageRange
Concrete unit storage does not match canonical ownership.
Fields
MissingState
Partition omitted mutable state geometry.
StateRange
Mutable state geometry does not match canonical unit ownership.
Fields
TokensOnNonInputOwner
Token ids were supplied after the architecture input boundary.
Trait Implementations§
Source§impl Clone for LayeredPartitionError
impl Clone for LayeredPartitionError
Source§fn clone(&self) -> LayeredPartitionError
fn clone(&self) -> LayeredPartitionError
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 LayeredPartitionError
impl Debug for LayeredPartitionError
Source§impl Display for LayeredPartitionError
impl Display for LayeredPartitionError
impl Eq for LayeredPartitionError
Source§impl Error for LayeredPartitionError
impl Error for LayeredPartitionError
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 LayeredPartitionError
impl PartialEq for LayeredPartitionError
impl StructuralPartialEq for LayeredPartitionError
Auto Trait Implementations§
impl Freeze for LayeredPartitionError
impl RefUnwindSafe for LayeredPartitionError
impl Send for LayeredPartitionError
impl Sync for LayeredPartitionError
impl Unpin for LayeredPartitionError
impl UnsafeUnpin for LayeredPartitionError
impl UnwindSafe for LayeredPartitionError
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