Enum tauri_runtime_wry::Message[][src]

pub enum Message {
    Task(Box<dyn FnOnce() + Send>),
    Window(WindowId, WindowMessage),
    Webview(WindowId, WebviewMessage),
    CreateWebview(Box<dyn FnOnce(&EventLoopWindowTarget<Message>, &Mutex<HashMap<Option<PathBuf>, WebContext>>) -> Result<WindowWrapper> + Send>, Sender<WindowId>),
    CreateWindow(Box<dyn FnOnce() -> (String, WryWindowBuilder) + Send>, Sender<Result<Arc<Window>>>),
    GlobalShortcut(GlobalShortcutMessage),
    Clipboard(ClipboardMessage),
}

Variants

Task

Tuple Fields of Task

0: Box<dyn FnOnce() + Send>
Window

Tuple Fields of Window

0: WindowId1: WindowMessage
Webview

Tuple Fields of Webview

0: WindowId1: WebviewMessage
CreateWebview

Tuple Fields of CreateWebview

0: Box<dyn FnOnce(&EventLoopWindowTarget<Message>, &Mutex<HashMap<Option<PathBuf>, WebContext>>) -> Result<WindowWrapper> + Send>1: Sender<WindowId>
CreateWindow

Tuple Fields of CreateWindow

0: Box<dyn FnOnce() -> (String, WryWindowBuilder) + Send>1: Sender<Result<Arc<Window>>>
GlobalShortcut

Tuple Fields of GlobalShortcut

0: GlobalShortcutMessage
Clipboard

Tuple Fields of Clipboard

0: ClipboardMessage

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.