# App and runtime

> Configures an application, starts the runtime and reaches it once it runs.

- [`App`](https://kurogane-rs.org/docs/api/app/app.md) (struct): Public application builder.
- [`AppHandle`](https://kurogane-rs.org/docs/api/app/apphandle.md) (struct): Shared lifecycle handle for a running Kurogane application.
- [`AppInstance`](https://kurogane-rs.org/docs/api/app/appinstance.md) (struct): The running application, owned by the thread that started it.
- [`BrowserBounds`](https://kurogane-rs.org/docs/api/app/browserbounds.md) (struct): A browser's place inside its parent window, for `AppInstance::create_child_browser` and `BrowserHandle::set_bounds`. It is a position and a size in that window's own coordinates, which CEF applies unconverted. Pixels from the top-left of the client area on Windows and X11; on macOS, points in the parent `NSView`, whose origin is its top-left corner when the view is flipped (winit's is) and its bottom-left corner otherwise.
- [`BrowserHandle`](https://kurogane-rs.org/docs/api/app/browserhandle.md) (struct): A browser of the running application.
- [`SecondInstance`](https://kurogane-rs.org/docs/api/app/secondinstance.md) (struct): A launch of the application while another instance is already running.
- [`CefLocation`](https://kurogane-rs.org/docs/api/app/ceflocation.md) (enum): Where the application found its Chromium runtime, in the order it looks.
- [`ConfigError`](https://kurogane-rs.org/docs/api/app/configerror.md) (enum): One problem in the [`App`](https://kurogane-rs.org/docs/api/app/app.md) builder configuration, reported by `build()` / `run()` / `start_embedded()` as `RuntimeError::InvalidConfiguration`.
- [`CredentialStorage`](https://kurogane-rs.org/docs/api/app/credentialstorage.md) (enum): Backend used to protect cookies and saved passwords at rest.
- [`GpuMode`](https://kurogane-rs.org/docs/api/app/gpumode.md) (enum): GPU backend selection strategy.
- [`PumpRequest`](https://kurogane-rs.org/docs/api/app/pumprequest.md) (enum): A request from CEF indicating when it next needs to be serviced.
- [`RuntimeError`](https://kurogane-rs.org/docs/api/app/runtimeerror.md) (enum): Failure to start the application or to open a window or a browser.
- [`SandboxMode`](https://kurogane-rs.org/docs/api/app/sandboxmode.md) (enum): Chromium process sandbox policy.
- [`ClientAppBrowserDelegate`](https://kurogane-rs.org/docs/api/app/clientappbrowserdelegate.md) (trait): Customizes browser-process startup behavior.
- [`ClientAppRendererDelegate`](https://kurogane-rs.org/docs/api/app/clientapprendererdelegate.md) (trait): Customizes render-process behavior.
- [`SchemeHandler`](https://kurogane-rs.org/docs/api/app/schemehandler.md) (trait): Generates a `ResourceHandler` for requests on a custom scheme.
- [`is_browser_process`](https://kurogane-rs.org/docs/api/app/is_browser_process.md) (function): Returns whether this process is Chromium's browser process rather than one of its helper processes (renderer, GPU, utility) which run this same binary again with a `--type=` argument.
- [`resource_dir`](https://kurogane-rs.org/docs/api/app/resource_dir.md) (function): The directory a packaged application's bundled resources live in.
- [`resource_handler_from_bytes`](https://kurogane-rs.org/docs/api/app/resource_handler_from_bytes.md) (function): Builds a `ResourceHandler` serving `data` once with the given MIME type and status code.
- [`sandbox_entry`](https://kurogane-rs.org/docs/api/app/sandbox_entry.md) (macro): Declares the entry points CEF's sandbox bootstrap calls.
