Struct tauri::Invoke [−][src]
pub struct Invoke<P: Params = Args<String, String, String, String, EmbeddedAssets, Wry>> { pub message: InvokeMessage<P>, pub resolver: InvokeResolver<P>, }
Expand description
The message and resolver given to a custom command.
Fields
message: InvokeMessage<P>
The message passed.
resolver: InvokeResolver<P>
The resolver of the message.
Auto Trait Implementations
impl<P = Args<String, String, String, String, EmbeddedAssets, Wry>> !RefUnwindSafe for Invoke<P>
impl<P> Sync for Invoke<P> where
<<P as Params>::Runtime as Runtime>::ClipboardManager: Sync,
<<P as Params>::Runtime as Runtime>::Dispatcher: Sync,
<<P as Params>::Runtime as Runtime>::GlobalShortcutManager: Sync,
<<P as Params>::Runtime as Runtime>::Handle: Sync,
<<P as Params>::Runtime as Runtime>::TrayHandler: Sync,
impl<P> Unpin for Invoke<P> where
<<P as Params>::Runtime as Runtime>::ClipboardManager: Unpin,
<<P as Params>::Runtime as Runtime>::Dispatcher: Unpin,
<<P as Params>::Runtime as Runtime>::GlobalShortcutManager: Unpin,
<<P as Params>::Runtime as Runtime>::Handle: Unpin,
<P as Params>::Label: Unpin,
<<P as Params>::Runtime as Runtime>::TrayHandler: Unpin,
impl<P = Args<String, String, String, String, EmbeddedAssets, Wry>> !UnwindSafe for Invoke<P>