Enum tauri_runtime::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 14 variants
CreateWebview(Box<dyn Error + Send>),
CreateWindow,
FailedToSendMessage,
Json(Error),
SystemTray(Box<dyn Error + Send>),
InvalidIcon(Box<dyn Error + Send>),
FailedToGetMonitor,
GlobalShortcut(Box<dyn Error + Send>),
InvalidHeaderName(InvalidHeaderName),
InvalidHeaderValue(InvalidHeaderValue),
InvalidUri(InvalidUri),
InvalidStatusCode(InvalidStatusCode),
InvalidMethod(InvalidMethod),
Infallible(Infallible),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Failed to create webview.
Failed to create window.
Failed to send message to webview.
Failed to serialize/deserialize.
Tuple Fields of Json
0: Error
This is supported on crate feature
system-tray
only.Encountered an error creating the app system tray.
Failed to load window icon.
Failed to get monitor on window operation.
Global shortcut error.
Tuple Fields of InvalidHeaderName
Tuple Fields of InvalidHeaderValue
Tuple Fields of InvalidUri
0: InvalidUri
Tuple Fields of InvalidStatusCode
Tuple Fields of InvalidMethod
Tuple Fields of Infallible
0: Infallible
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.