#[non_exhaustive]pub enum ScientificProjectError {
Configuration(ConfigurationError),
State(StateError),
}Expand description
Failure while loading a complete conventional scientific project.
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.
Configuration(ConfigurationError)
Fixed, sweep, or path configuration was invalid.
State(StateError)
A project-owned state schema could not be loaded or validated.
Trait Implementations§
Source§impl Debug for ScientificProjectError
impl Debug for ScientificProjectError
Source§impl Display for ScientificProjectError
impl Display for ScientificProjectError
Source§impl Error for ScientificProjectError
impl Error for ScientificProjectError
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 From<ConfigurationError> for ScientificProjectError
impl From<ConfigurationError> for ScientificProjectError
Source§fn from(source: ConfigurationError) -> Self
fn from(source: ConfigurationError) -> Self
Converts to this type from the input type.
Source§impl From<StateError> for ScientificProjectError
impl From<StateError> for ScientificProjectError
Source§fn from(source: StateError) -> Self
fn from(source: StateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ScientificProjectError
impl !UnwindSafe for ScientificProjectError
impl Freeze for ScientificProjectError
impl Send for ScientificProjectError
impl Sync for ScientificProjectError
impl Unpin for ScientificProjectError
impl UnsafeUnpin for ScientificProjectError
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