pub struct AlreadySetError<R> {
pub resources: R,
}Expand description
An error indicating the logger is already set.
This could happen because
- you’ve already initialized a logger provided by this package
- you’re using the
logpackage, and something else has registered the dynamic logger
Fields§
§resources: RHolds the peripherals and other state provided to the initialization routine.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for AlreadySetError<R>where
R: Freeze,
impl<R> RefUnwindSafe for AlreadySetError<R>where
R: RefUnwindSafe,
impl<R> Send for AlreadySetError<R>where
R: Send,
impl<R> Sync for AlreadySetError<R>where
R: Sync,
impl<R> Unpin for AlreadySetError<R>where
R: Unpin,
impl<R> UnwindSafe for AlreadySetError<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