use std::fs::File;
use std::{error, result};
#[cfg(doc)]
use crate::Cache;
pub trait CallbackFn: Fn(File) -> result::Result<(), Box<dyn error::Error + Send + Sync>> + Send + Sync {}
impl<T> CallbackFn for T where T: Fn(File) -> result::Result<(), Box<dyn error::Error + Send + Sync>> + Send + Sync {}