Enum fmi::FmiError [−][src]
Variants
Fields of InvalidStatus
status: u32For ME: It is recommended to perform a smaller step size and evaluate the model equations
again, for example because an iterative solver in the model did not converge or because a
function is outside of its domain (for example sqrt(
For CS: fmi2Discard is returned also if the slave is not able to return the required status information. The master has to decide if the simulation run can be continued.
The FMU encountered an error. The simulation cannot be continued with this FMU instance. If one of the functions returns fmi2Error, it can be tried to restart the simulation from a formerly stored FMU state by calling fmi2SetFMUstate. This can be done if the capability flag canGetAndSetFMUstate is true and fmu2GetFMUstate was called before in non-erroneous state. If not, the simulation cannot be continued and fmi2FreeInstance or fmi2Reset must be called afterwards.
The model computations are irreparably corrupted for all FMU instances. [For example, due to a run-time exception such as access violation or integer division by zero during the execution of an fmi function]. It is not possible to call any other function for any of the FMU instances.
Fields of UnknownVariable
name: StringFields of UnknownToolchainVersion
version: StringUnsupportedFmuType(fmi2Type)Io(Error)Zip(ZipError)Xml(Error)Dlopen(Error)ModelDescr(ModelDescriptionError)Utf8Error(Utf8Error)Trait Implementations
impl Debug for FmiError[src]
impl Display for FmiError[src]
impl Error for FmiError[src]
fn source(&self) -> Option<&(dyn Error + 'static)>[src]
pub fn backtrace(&self) -> Option<&Backtrace>[src]
pub fn description(&self) -> &str1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>1.0.0[src]
impl From<Error> for FmiError[src]
impl From<Error> for FmiError[src]
impl From<Error> for FmiError[src]
impl From<ModelDescriptionError> for FmiError[src]
fn from(source: ModelDescriptionError) -> Self[src]
impl From<Utf8Error> for FmiError[src]
impl From<ZipError> for FmiError[src]
Auto Trait Implementations
impl !RefUnwindSafe for FmiError[src]
impl Send for FmiError[src]
impl Sync for FmiError[src]
impl Unpin for FmiError[src]
impl !UnwindSafe for FmiError[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,