Skip to main content

Module setup

Module setup 

Source
Expand description

Shared setup-mode boundary.

Attached and standalone setup contracts belong here. Runtime callers should validate externally managed state explicitly and avoid implicit schema or service creation.

Re-exports§

pub use crate::degradation::Guidance;
pub use crate::degradation::SetupIssue;

Structs§

OwnedObject
An object that a consumer crate owns and can create in standalone mode.
RequiredObject
Required object that a consumer crate declares for setup validation.
SetupContext
Context supplied to standalone setup creation callbacks.
SetupReport
Report from a standalone setup creation run.
ValidationContext
Context supplied to validation callbacks.
ValidationReport
Result of running all attached-mode validators.

Enums§

SetupError
Error from standalone setup creation.
StoreKind
Datastore kind for setup object classification.

Traits§

AttachedValidator
Attached-mode validation: check that externally managed resources exist.
StandaloneSetup
Standalone-mode setup: explicit opt-in creation of consumer-owned resources.

Type Aliases§

OwnedCreator
Consumer-supplied creation callback for an owned object.
RequiredValidator
Consumer-supplied validation callback for a required object.