Struct async_nats::service::StatsHandler
source · pub struct StatsHandler(pub Box<dyn FnMut(String, Stats) -> String + Send>);
Available on crate feature
service
only.Tuple Fields§
§0: Box<dyn FnMut(String, Stats) -> String + Send>
Trait Implementations§
Auto Trait Implementations§
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