pub struct AssertionError {
pub message: String,
}Expand description
An error produced by a failed assertion, comparing two values.
Fields§
§message: StringTrait Implementations§
Source§impl Debug for AssertionError
impl Debug for AssertionError
Source§impl From<&str> for AssertionError
impl From<&str> for AssertionError
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<ElementModelError> for AssertionError
impl From<ElementModelError> for AssertionError
Source§fn from(error: ElementModelError) -> Self
fn from(error: ElementModelError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AssertionError
impl From<Error> for AssertionError
Source§impl From<FiniteElementError> for AssertionError
impl From<FiniteElementError> for AssertionError
Source§fn from(error: FiniteElementError) -> Self
fn from(error: FiniteElementError) -> Self
Converts to this type from the input type.
Source§impl From<IntegrationError> for AssertionError
impl From<IntegrationError> for AssertionError
Source§fn from(error: IntegrationError) -> Self
fn from(error: IntegrationError) -> Self
Converts to this type from the input type.
Source§impl From<OptimizationError> for AssertionError
impl From<OptimizationError> for AssertionError
Source§fn from(error: OptimizationError) -> Self
fn from(error: OptimizationError) -> Self
Converts to this type from the input type.
Source§impl From<SingleChainError> for AssertionError
impl From<SingleChainError> for AssertionError
Source§fn from(error: SingleChainError) -> Self
fn from(error: SingleChainError) -> Self
Converts to this type from the input type.
Source§impl From<SparseError> for AssertionError
impl From<SparseError> for AssertionError
Source§fn from(error: SparseError) -> Self
fn from(error: SparseError) -> Self
Converts to this type from the input type.
Source§impl From<String> for AssertionError
impl From<String> for AssertionError
Source§impl From<TensorError> for AssertionError
impl From<TensorError> for AssertionError
Source§fn from(error: TensorError) -> Self
fn from(error: TensorError) -> Self
Converts to this type from the input type.
Source§impl From<VirtualElementError> for AssertionError
impl From<VirtualElementError> for AssertionError
Source§fn from(error: VirtualElementError) -> Self
fn from(error: VirtualElementError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AssertionError
impl RefUnwindSafe for AssertionError
impl Send for AssertionError
impl Sync for AssertionError
impl Unpin for AssertionError
impl UnsafeUnpin for AssertionError
impl UnwindSafe for AssertionError
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