[−][src]Enum xio_jobset_compilation::Error
An enum containing all error kinds produced by this crate.
Variants
ParameterAlreadyDescribed
A parameter was already described in a lower layer.
It can not be overwritten in a higher layer.
Fields of ParameterAlreadyDescribed
ParameterNotYetDescribed
A parameter value is defined, but was not yet described.
A lower or the same layer must contain a description of the parameter before it gets used. This description is missing at the layer where the parameter value is defined.
Fields of ParameterNotYetDescribed
ParameterOverrideEnforceNotRespected
A parameter value override is enforced, but not found.
Parameters with override=enforce must be defined at a higher layer, but no such definition was found.
Fields of ParameterOverrideEnforceNotRespected
ParameterOverrideForbidNotSatisfied
A parameter was overridden although it must not be.
Parameters with override=forbid must have their value defined in the same layer as the parameter description. A parameter was overridden in a different layer.
Fields of ParameterOverrideForbidNotSatisfied
ParameterOverrideNotAllowed
A parameter was overridden although it must not be.
Fields of ParameterOverrideNotAllowed
ParameterTypeMismatch
A parameter did not match the required type.
Fields of ParameterTypeMismatch
name: String
The name of the parameter.
defined_type: DataType
The type defined in the parameter description.
defined_layer: String
The layer where the parameter was described.
value: Box<DataValueDescriptive>
The value which was found for the parameter.
value_layer: String
The layer where the parameter value was defined.
source: Error
The source of the error.
ParameterWithFixedStorageAndNoValue
A parameter which gets stored in fixed storage has no value.
Parameters stored in fixed storage (which means const values) must have a fixed value assigned. No value assignment was found.
Fields of ParameterWithFixedStorageAndNoValue
MappedParameterNotFound
A parameter which was referenced by a mask does not exist.
Fields of MappedParameterNotFound
InstructionParameterNotFound
A parameter of a instruction was not found.
Fields of InstructionParameterNotFound
ParameterNotFound
A parameter was not found.
Fields of ParameterNotFound
ParameterNotMappedInHardwareAssignment
No hardware mapping was found for a channel parameter.
Channel parameters must have a XIO hardware channel assigned in the hardware assignment. This assignment was not found.
Fields of ParameterNotMappedInHardwareAssignment
CapabilityNotFound
A required capability was not found.
Fields of CapabilityNotFound
ModuleDescriptionNotFound
A module description was not found.
Fields of ModuleDescriptionNotFound
ModuleChannelNotFound
A channel with a certain name is not present in the module.
Fields of ModuleChannelNotFound
ChannelDataTypeMismatch
A channel parameter datatype did not match.
Fields of ChannelDataTypeMismatch
index: u16
The index of the channel within the module.
name: String
The name of the mapped channel.
module_name: String
The name of the module.
required_datatype: DataType
The required data type.
found_datatype: DataType
The data type of the parameter value.
parameter_name: String
The name of the parameter.
backtrace: Backtrace
The backtrace.
InvalidDataType
A parameter has an invalid data type.
Fields of InvalidDataType
InstructionNotFound
An instruction type could not be found in the instruction set.
Fields of InstructionNotFound
location: CodeLocation
The code location in question.
name: String
The name of the missing instruction.
backtrace: Backtrace
The backtrace.
FoundConditionInCommands
A XIO condition was found where only a command is allowed.
Fields of FoundConditionInCommands
location: CodeLocation
The code location in question.
command_type: String
The type of the command.
backtrace: Backtrace
The backtrace.
CommandWithoutTimeExtentButConditions
A XIO command without time extent but with conditions was found.
XIO commands which have no time extent must not have a condition, but such a command was found with a condition attached to it.
Fields of CommandWithoutTimeExtentButConditions
location: CodeLocation
The code location in question.
command_type: String
The type of the command.
backtrace: Backtrace
The backtrace.
CommandWithTimeExtentButNoConditions
A XIO command with time extent but without conditions was found.
XIO commands which have a time extent require at least one condition, but such a command was found without a condition attached to it.
Fields of CommandWithTimeExtentButNoConditions
location: CodeLocation
The code location in question.
command_type: String
The type of the command.
backtrace: Backtrace
The backtrace.
InvalidInstructionCategory
The instruction of a command was from a different category.
Fields of InvalidInstructionCategory
location: CodeLocation
The code location in question.
command_type: String
The command type which was found.
backtrace: Backtrace
The backtrace.
ParametersInGroupAreOfDifferentTypes
Parameters inside a group don't have the same type.
Fields of ParametersInGroupAreOfDifferentTypes
WrongParameters
Parameters for a XIO command were wrong.
Fields of WrongParameters
ParameterStorageDoesNotFit
The storage of a parameter does not fit what was required.
Fields of ParameterStorageDoesNotFit
location: CodeLocation
The code location in question.
name: String
The name of the parameter.
required_storage: StorageTypeWithMixed
The required storage type constraint.
found_storage: StorageType
The storage which was found.
backtrace: Backtrace
The backtrace.
ProgrammerError
An error occurred which is probably a programmer mistake.
Fields of ProgrammerError
XioBaseDatatypes
An error occurred in the xio_base_datatypes crate.
Fields of XioBaseDatatypes
source: Error
The source.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error where
Self: Debug + Display,
[src]
Self: Debug + Display,
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
impl ErrorCompat for Error
[src]
Auto Trait Implementations
impl Send for Error
impl Unpin for Error
impl Sync for Error
impl UnwindSafe for Error
impl RefUnwindSafe for Error
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,