pub struct GenericError { /* private fields */ }Implementations§
Source§impl GenericError
impl GenericError
pub fn operator_eq(&self, rhs: &GenericError) -> bool
Trait Implementations§
Source§impl Clone for GenericError
impl Clone for GenericError
Source§fn clone(&self) -> GenericError
fn clone(&self) -> GenericError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CopyError for GenericError
impl CopyError for GenericError
fn copy_error_impl( &mut self, _dest_arena: &mut TypeArena, _clone_state: &mut CloneState, )
Source§impl Debug for GenericError
impl Debug for GenericError
impl Eq for GenericError
Source§impl ErrorToString for GenericError
impl ErrorToString for GenericError
fn error_to_string_impl(&self, stream: &mut dyn Write) -> Result
Source§impl From<GenericError> for TypeErrorData
impl From<GenericError> for TypeErrorData
Source§fn from(value: GenericError) -> Self
fn from(value: GenericError) -> Self
Converts to this type from the input type.
Source§impl Hash for GenericError
impl Hash for GenericError
Source§impl PartialEq for GenericError
impl PartialEq for GenericError
Source§fn eq(&self, other: &GenericError) -> bool
fn eq(&self, other: &GenericError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GenericError
Source§impl TypeErrorDataMember for GenericError
impl TypeErrorDataMember for GenericError
fn get_if(v: &TypeErrorData) -> Option<&Self>
fn get_if_mut(v: &mut TypeErrorData) -> Option<&mut Self>
Auto Trait Implementations§
impl Freeze for GenericError
impl RefUnwindSafe for GenericError
impl Send for GenericError
impl Sync for GenericError
impl Unpin for GenericError
impl UnsafeUnpin for GenericError
impl UnwindSafe for GenericError
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