Expand description
Types and functions related to Inter Procedure Call(IPC).
This module includes utilities to send messages to the JS layer of the webview.
Structs§
- The
Callback
type is the return value of thetransformCallback
JavaScript function. - An IPC channel.
- Represents a custom command.
- Access scope for a command that can be retrieved directly in the command function.
- Global access scope that can be retrieved directly in the command function.
- The message and resolver given to a custom command.
- Error response from an
InvokeMessage
. - An invoke message.
- Resolver of a invoke message.
- The ID of a channel that was defined on the JavaScript layer.
- The IPC request.
- The IPC request.
- The runtime authority used to authorize IPC execution based on the Access Control List.
- List of allowed and denied objects that match either the command-specific or plugin global scope criterias.
- Optional settings to pass to the templating system.
Enums§
- Possible values of an IPC payload.
- Response from a
InvokeMessage
passed to theInvokeResolver
. - The origin trying to access the IPC.
Traits§
- Trait implemented by command arguments to derive a value from a
CommandItem
. - Marks a type as a response to an IPC call.
- Marks a type as a scope object.
Type Aliases§
- A closure that is run every time Tauri receives a message it doesn’t explicitly handle.
- A closure that is responsible for respond a JS message.
- Similar to
InvokeResponder
but taking owned arguments.