ostree
pub fn checksum_file<P: IsA<File>, Q: IsA<Cancellable>>( f: &P, objtype: ObjectType, cancellable: Option<&Q>) -> Result<Checksum, Box<dyn Error>>