pub struct Registration<T = &'static dyn Callsite> { /* private fields */ }
Expand description
A registration with the callsite registry.
Every Callsite
implementation must provide a &'static Registration
when calling register
to add itself to the global callsite registry.
See the documentation on callsite registration for details on how callsites are registered.
Implementations§
Source§impl<T> Registration<T>
impl<T> Registration<T>
Trait Implementations§
Auto Trait Implementations§
impl<T = &'static dyn Callsite> !Freeze for Registration<T>
impl<T> RefUnwindSafe for Registration<T>where
T: RefUnwindSafe,
impl<T> Send for Registration<T>where
T: Send,
impl<T> Sync for Registration<T>where
T: Sync,
impl<T> Unpin for Registration<T>where
T: Unpin,
impl<T> UnwindSafe for Registration<T>where
T: UnwindSafe + 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