pub struct SubError<Lhs, Rhs>(pub Operation<Lhs, Rhs>);
Tuple Fields§
§0: Operation<Lhs, Rhs>
Trait Implementations§
Source§impl<Lhs, Rhs> Error for SubError<Lhs, Rhs>
impl<Lhs, Rhs> Error for SubError<Lhs, Rhs>
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()
impl<Lhs, Rhs> Arithmetic for SubError<Lhs, Rhs>
impl<Lhs, Rhs> StructuralPartialEq for SubError<Lhs, Rhs>
Auto Trait Implementations§
impl<Lhs, Rhs> Freeze for SubError<Lhs, Rhs>
impl<Lhs, Rhs> !RefUnwindSafe for SubError<Lhs, Rhs>
impl<Lhs, Rhs> Send for SubError<Lhs, Rhs>
impl<Lhs, Rhs> Sync for SubError<Lhs, Rhs>
impl<Lhs, Rhs> Unpin for SubError<Lhs, Rhs>
impl<Lhs, Rhs> !UnwindSafe for SubError<Lhs, Rhs>
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