Struct std_tools::BasicError
source · [−]pub struct BasicError { /* private fields */ }
Expand description
baic implementation of generic BasicError
Implementations
sourceimpl BasicError
impl BasicError
Trait Implementations
sourceimpl Clone for BasicError
impl Clone for BasicError
sourcefn clone(&self) -> BasicError
fn clone(&self) -> BasicError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BasicError
impl Debug for BasicError
sourceimpl Display for BasicError
impl Display for BasicError
sourceimpl Error for BasicError
impl Error for BasicError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl PartialEq<BasicError> for BasicError
impl PartialEq<BasicError> for BasicError
sourcefn eq(&self, other: &BasicError) -> bool
fn eq(&self, other: &BasicError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BasicError) -> bool
fn ne(&self, other: &BasicError) -> bool
This method tests for !=
.
impl StructuralPartialEq for BasicError
Auto Trait Implementations
impl RefUnwindSafe for BasicError
impl Send for BasicError
impl Sync for BasicError
impl Unpin for BasicError
impl UnwindSafe for BasicError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
sourceimpl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
sourcefn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.