pub enum ConstitutiveError {
Custom(String, String),
InvalidJacobian(Scalar, String),
Upstream(String, String),
}Expand description
Possible errors encountered in constitutive models.
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for ConstitutiveError
impl Debug for ConstitutiveError
Source§impl Display for ConstitutiveError
impl Display for ConstitutiveError
Source§impl Error for ConstitutiveError
impl Error for ConstitutiveError
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()
Source§impl From<ConstitutiveError> for AssertionError
impl From<ConstitutiveError> for AssertionError
Source§fn from(error: ConstitutiveError) -> Self
fn from(error: ConstitutiveError) -> Self
Converts to this type from the input type.
Source§impl From<ConstitutiveError> for String
impl From<ConstitutiveError> for String
Source§fn from(error: ConstitutiveError) -> Self
fn from(error: ConstitutiveError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConstitutiveError
impl PartialEq for ConstitutiveError
Source§fn eq(&self, other: &ConstitutiveError) -> bool
fn eq(&self, other: &ConstitutiveError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstitutiveError
Auto Trait Implementations§
impl Freeze for ConstitutiveError
impl RefUnwindSafe for ConstitutiveError
impl Send for ConstitutiveError
impl Sync for ConstitutiveError
impl Unpin for ConstitutiveError
impl UnsafeUnpin for ConstitutiveError
impl UnwindSafe for ConstitutiveError
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