update tauriresult to work with tiny_http

This commit is contained in:
tensor-programming
2020-01-05 19:07:37 -05:00
parent 14e67c6514
commit 26f44b3bc1

View File

@@ -34,7 +34,7 @@ use web_view::WebView;
pub use tauri_api as api;
// Result alias
type TauriResult<T> = Result<T, Box<dyn std::error::Error>>;
type TauriResult<T> = Result<T, Box<dyn std::error::Error + Send + Sync + 'static>>;
thread_local!(static POOL: ThreadPool = ThreadPool::new(4));