#[non_exhaustive]pub enum ArchitectureParameterError {
InvalidLayout(String),
EmptyStaticRole,
DuplicateStaticRole,
UnknownExecutionGroup(String),
UnitOutOfRange {
group: String,
global_unit: usize,
available: usize,
},
DuplicateExpectedTarget {
target: String,
first: String,
second: String,
},
DuplicateOwnership {
target: String,
first: ParameterGroupOwner,
second: ParameterGroupOwner,
},
MissingOwnership(String),
UnexpectedOwnership(String),
}Expand description
Invalid architecture-owned parameter ownership declaration.
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.
InvalidLayout(String)
The supplied graph/layout is not canonical.
EmptyStaticRole
A pinned parameter group has no semantic role.
DuplicateStaticRole
A shared pinned parameter repeats one consumer role.
UnknownExecutionGroup(String)
A unit owner names no canonical graph group.
UnitOutOfRange
A unit owner exceeds its canonical group size.
Fields
DuplicateExpectedTarget
The authoritative neutral group set itself repeats a target.
Fields
DuplicateOwnership
Two explicit owners claim one physical target.
Fields
§
first: ParameterGroupOwnerFirst explicit owner.
§
second: ParameterGroupOwnerSecond explicit owner.
MissingOwnership(String)
An authoritative target was left unowned.
UnexpectedOwnership(String)
An ownership tag names a target outside the authoritative set.
Trait Implementations§
Source§impl Clone for ArchitectureParameterError
impl Clone for ArchitectureParameterError
Source§fn clone(&self) -> ArchitectureParameterError
fn clone(&self) -> ArchitectureParameterError
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 ArchitectureParameterError
impl Debug for ArchitectureParameterError
Source§impl Display for ArchitectureParameterError
impl Display for ArchitectureParameterError
impl Eq for ArchitectureParameterError
Source§impl Error for ArchitectureParameterError
impl Error for ArchitectureParameterError
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()
impl StructuralPartialEq for ArchitectureParameterError
Auto Trait Implementations§
impl Freeze for ArchitectureParameterError
impl RefUnwindSafe for ArchitectureParameterError
impl Send for ArchitectureParameterError
impl Sync for ArchitectureParameterError
impl Unpin for ArchitectureParameterError
impl UnsafeUnpin for ArchitectureParameterError
impl UnwindSafe for ArchitectureParameterError
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