mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
update tauriresult to work with tiny_http
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user