Skip to main content

Crate permission_flow

Crate permission_flow 

Source
Expand description

Rust bindings for the macOS permission guidance flow shipped in this workspace’s Swift/AppKit implementation.

On non-macOS targets, this crate intentionally compiles as a no-op shim so cross-platform workspaces can still build. In that mode, controller methods quietly succeed and permission status resolves to Unknown.

Structs§

AppPath
A validated C-compatible app path passed through the FFI boundary.
NewControllerError
Permission
A macOS privacy permission that can be opened through the Swift shim.
PermissionFlowController
Main controller for driving the Swift permission flow from Rust.
PermissionStatusError
StartFlowOptions
Options for starting a permission flow.
StartPermissionFlowError
StopPermissionFlowError

Enums§

PermissionAuthorizationState