pub struct CalcError {
pub error_type: CalcErrorType,
pub msg: String,
}
Expand description
Custom error handling struct
Fields§
§error_type: CalcErrorType
Broad type of error
msg: String
Description of error
Trait Implementations§
impl StructuralPartialEq for CalcError
Auto Trait Implementations§
impl Freeze for CalcError
impl RefUnwindSafe for CalcError
impl Send for CalcError
impl Sync for CalcError
impl Unpin for CalcError
impl UnwindSafe for CalcError
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