Skip to main content

Mountain/IPC/WindServiceHandlers/NativeHost/
ClipboardTriggerPaste.rs

1#![allow(unused_variables, dead_code, unused_imports)]
2
3//! Wire method: `nativeHost:triggerPaste`.
4//! Tauri 2.x has no direct paste API - returns false so callers fall
5//! through to the OS native paste shortcut.
6
7use serde_json::{Value, json};
8
9pub async fn Fn(_Arguments:Vec<Value>) -> Result<Value, String> { Ok(json!(false)) }