cleanup: make BoxedStoreFunc private

There is no need to export this type.
This commit is contained in:
Dietmar Maurer 2021-09-29 09:40:56 +02:00
parent 20def38e96
commit 8cf445ecc4
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ extern "C" {
}
// Unfortunately FnBox is nightly-only and Box<FnOnce> is unusable, so just use Box<Fn>...
pub type BoxedStoreFunc = Box<dyn FnMut() -> Result<String, Error> + UnwindSafe + Send>;
type BoxedStoreFunc = Box<dyn FnMut() -> Result<String, Error> + UnwindSafe + Send>;
/// Helper trait to "store" something in the environment to be re-used after re-executing the
/// service on a reload.