Skip to main content

Hostable

Trait Hostable 

Source
pub trait Hostable {
    const PROVIDER: &'static str;
    const HOSTING: IntegrationHosting;
    const CONFIG_SCOPE: ConfigScope;
    const RESOURCE_KIND: &'static str;
    const OUTPUTS: &'static [&'static str];
    const BLOCKED_SETTINGS: &'static [BlockedSetting] = _;
    const VALIDATED: () = _;
}
Expand description

Metadata and compile-time constraints for one integration provider.

Implementors are registered in the integrations registry; validation and dispatch never use free-form provider strings outside this table.

Required Associated Constants§

Source

const PROVIDER: &'static str

Catalog name in stackless.toml (provider = "clerk").

Source

const HOSTING: IntegrationHosting

Runtime placement model — see IntegrationHosting.

Source

const CONFIG_SCOPE: ConfigScope

TOML override policy — see ConfigScope.

Source

const RESOURCE_KIND: &'static str

Checkpoint resource_kind written by the provisioner.

Source

const OUTPUTS: &'static [&'static str]

Outputs available in ${integrations.<name>.<output>} references.

Provided Associated Constants§

Source

const BLOCKED_SETTINGS: &'static [BlockedSetting] = _

Settings stackless cannot apply with the credentials it holds; setting one truthy fails validation with its remediation. Default empty — most providers have none.

Source

const VALIDATED: () = _

Compile-time guard: managed providers cannot accept per-host config.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§