pub struct SetRecorderError<R>(pub R);
Expand description
Error returned when trying to install a global recorder when another has already been installed.
Tuple Fields§
§0: R
Implementations§
Source§impl<R> SetRecorderError<R>
impl<R> SetRecorderError<R>
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Returns the recorder that was attempted to be set.
Trait Implementations§
Source§impl<R> Debug for SetRecorderError<R>
impl<R> Debug for SetRecorderError<R>
Source§impl<R> Display for SetRecorderError<R>
impl<R> Display for SetRecorderError<R>
Source§impl<R> Error for SetRecorderError<R>
impl<R> Error for SetRecorderError<R>
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()
Auto Trait Implementations§
impl<R> Freeze for SetRecorderError<R>where
R: Freeze,
impl<R> RefUnwindSafe for SetRecorderError<R>where
R: RefUnwindSafe,
impl<R> Send for SetRecorderError<R>where
R: Send,
impl<R> Sync for SetRecorderError<R>where
R: Sync,
impl<R> Unpin for SetRecorderError<R>where
R: Unpin,
impl<R> UnwindSafe for SetRecorderError<R>where
R: UnwindSafe,
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