pub type StoreObjectsCallback = dyn Fn(&mut dyn Read<Error = Infallible>, usize) + Sync;
A callback function type for handling a store objects event