Skip to main content

Crate frame_capability

Crate frame_capability 

Source
Expand description

Enforcer-agnostic declarations and verdicts for host-mediated authority.

This crate deliberately has no runtime dependency. Native and future WASM enforcers share these values; neither gains mutation authority by using them.

Structs§

CapabilityDenied
A typed capability denial returned at the consuming act.
CapabilityRequest
A manifest declaration of authority a component may be granted.
ComponentId
Stable, fixed-width identity for a component and its durable namespace.
Grant
One active row in the host grant table.
GrantProvenance
Host-supplied audit provenance retained on an active grant row.
NetworkHost
An exact network host. It is never interpreted as a pattern.
PathRoot
An absolute, lexical filesystem root used by read and write authority.

Enums§

Capability
One kind paired with its only valid scope type.
CapabilityKind
The closed set of host-mediated authority kinds in v1.
CapabilityScope
A typed scope carried by a verdict for inspection without string parsing.
CheckVerdict
Fresh result of checking one consuming act.
ComponentIdParseError
Why a textual component identity could not be constructed.
ScopeValidationError
Why a manifest scope is not well formed for v1 matching.