API reference
IPC
Commands, streams and errors between your Rust code and the page.
Structs
OriginSecurity origin of a frame as
scheme://host[:port]or opaque.OriginErrorA configured origin that does not parse.
ResponderThe answer to one async request.
StreamResponderResponder for sending data from a browser-side stream handler to the renderer.
Enums
ErrorCodeClassifies an
IpcErrorby the numeric code exposed to the renderer. Runtime errors use the fixed codes0through-9; applications may use positive codes throughErrorCode::App.
Traits
StreamHandlerHandles one stream a page opens.
Type aliases
BinaryResponderResponder of an async binary command, resolved with the reply’s bytes (
App::async_binary_command).