pull/108/head
FabianLars 2 years ago
parent 8483d57ff4
commit af86f77e6f
No known key found for this signature in database
GPG Key ID: 3B12BC1DEBF61125

@ -12,8 +12,10 @@ use std::{
}; };
use tauri::{AppHandle, Manager, Runtime}; use tauri::{AppHandle, Manager, Runtime};
type SerializeFn = fn(&HashMap<String, JsonValue>) -> Result<Vec<u8>, Box<dyn std::error::Error + Send + Sync>>; type SerializeFn =
type DeserializeFn = fn(&[u8]) -> Result<HashMap<String, JsonValue>, Box<dyn std::error::Error + Send + Sync>>; fn(&HashMap<String, JsonValue>) -> Result<Vec<u8>, Box<dyn std::error::Error + Send + Sync>>;
type DeserializeFn =
fn(&[u8]) -> Result<HashMap<String, JsonValue>, Box<dyn std::error::Error + Send + Sync>>;
fn default_serialize( fn default_serialize(
cache: &HashMap<String, JsonValue>, cache: &HashMap<String, JsonValue>,

Loading…
Cancel
Save