Skip to main content

OrgsFn

Type Alias OrgsFn 

Source
pub type OrgsFn = Arc<dyn Fn() -> Result<Vec<OrgId>, String> + Send + Sync>;
Expand description

The orgs that exist, as the runtime knows them (the daemon asks incus and its servers). The store’s org rows anchor memberships and tokens but are not the truth: an org made or removed past the daemon (isb org against incus with another state directory, a test) leaves them behind.

Aliased Type§

pub struct OrgsFn { /* private fields */ }