pub type ScreenshotFn = Box<dyn FnOnce(Result<RgbImage, String>) + Send>;
pub struct ScreenshotFn(/* private fields */);