pub struct RegisterError<'l, E: RegistryEntry + Debug + 'static>(pub &'l E);Tuple Fields§
§0: &'l ETrait Implementations§
Source§impl<'l, E: Clone + RegistryEntry + Debug + 'static> Clone for RegisterError<'l, E>
impl<'l, E: Clone + RegistryEntry + Debug + 'static> Clone for RegisterError<'l, E>
Source§fn clone(&self) -> RegisterError<'l, E>
fn clone(&self) -> RegisterError<'l, E>
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<'l, E: Debug + RegistryEntry + Debug + 'static> Debug for RegisterError<'l, E>
impl<'l, E: Debug + RegistryEntry + Debug + 'static> Debug for RegisterError<'l, E>
Source§impl<'l, E: RegistryEntry + Debug + 'static> Display for RegisterError<'l, E>
impl<'l, E: RegistryEntry + Debug + 'static> Display for RegisterError<'l, E>
Source§impl<'l, E: RegistryEntry + Debug + 'static> Error for RegisterError<'l, E>
impl<'l, E: RegistryEntry + Debug + 'static> Error for RegisterError<'l, E>
1.30.0 · 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<'l, E: Copy + RegistryEntry + Debug + 'static> Copy for RegisterError<'l, E>
Auto Trait Implementations§
impl<'l, E> Freeze for RegisterError<'l, E>
impl<'l, E> RefUnwindSafe for RegisterError<'l, E>where
E: RefUnwindSafe,
impl<'l, E> Send for RegisterError<'l, E>where
E: Sync,
impl<'l, E> Sync for RegisterError<'l, E>where
E: Sync,
impl<'l, E> Unpin for RegisterError<'l, E>
impl<'l, E> UnsafeUnpin for RegisterError<'l, E>
impl<'l, E> UnwindSafe for RegisterError<'l, E>where
E: RefUnwindSafe,
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