#[non_exhaustive]pub enum SimulationBuildError {
Show 16 variants
InvalidDescriptor {
module: Option<ModuleId>,
code: String,
message: String,
},
DuplicateModule {
module: ModuleId,
},
DuplicateExecuteEntry {
entry: ExecuteEntryId,
first: ModuleId,
second: ModuleId,
},
DuplicateClockType {
clock_type: ClockTypeId,
first: ModuleId,
second: ModuleId,
},
DuplicateSystem {
system: SystemId,
first: ModuleId,
second: ModuleId,
},
MissingDependency {
module: ModuleId,
dependency: ModuleId,
},
IncompatibleDependency {
module: ModuleId,
dependency: ModuleId,
required: VersionRequirement,
found: SemanticVersion,
},
UnknownTrigger {
module: ModuleId,
system: SystemId,
trigger: SystemTrigger,
},
InvalidOrdering {
system: SystemId,
target: SystemId,
reason: OrderingError,
},
OrderingCycle {
trigger: SystemTrigger,
systems: Vec<SystemId>,
},
UnsupportedCapability {
module: ModuleId,
capability: CapabilityId,
},
UnsupportedExecutionPlane {
module: ModuleId,
execution: ExecutionPlane,
},
BackendMismatch {
module: ModuleId,
required: BackendId,
actual: BackendId,
},
IncompatibleAdapter {
module: ModuleId,
backend: BackendId,
required: VersionRequirement,
found: SemanticVersion,
},
NativeRegistrationFailed {
module: Option<ModuleId>,
code: String,
message: String,
},
SystemGraphBuildFailed {
trigger: SystemTrigger,
code: String,
message: String,
},
}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.
InvalidDescriptor
DuplicateModule
DuplicateExecuteEntry
DuplicateClockType
DuplicateSystem
MissingDependency
IncompatibleDependency
UnknownTrigger
InvalidOrdering
OrderingCycle
UnsupportedCapability
UnsupportedExecutionPlane
BackendMismatch
IncompatibleAdapter
NativeRegistrationFailed
SystemGraphBuildFailed
Trait Implementations§
Source§impl Debug for SimulationBuildError
impl Debug for SimulationBuildError
Source§impl Display for SimulationBuildError
impl Display for SimulationBuildError
Source§impl Error for SimulationBuildError
impl Error for SimulationBuildError
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()
Auto Trait Implementations§
impl Freeze for SimulationBuildError
impl RefUnwindSafe for SimulationBuildError
impl Send for SimulationBuildError
impl Sync for SimulationBuildError
impl Unpin for SimulationBuildError
impl UnsafeUnpin for SimulationBuildError
impl UnwindSafe for SimulationBuildError
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