pub struct StatsHandler(pub Box<dyn FnMut(String, Stats) -> Value + Send>);
Available on crate feature
service
only.Tuple Fields§
§0: Box<dyn FnMut(String, Stats) -> Value + Send>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatsHandler
impl !RefUnwindSafe for StatsHandler
impl Send for StatsHandler
impl !Sync for StatsHandler
impl Unpin for StatsHandler
impl !UnwindSafe for StatsHandler
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