Skip to main content

SharedResource

Trait SharedResource 

Source
pub trait SharedResource: Resource {
    const OWNER: &'static str;
}
Expand description

A resource that one app keeps for every app of the workspace: its accounts, which Settings keeps and Mail signs in to; the people it knows, which Contacts keeps and Mail, Calendar and Messages address. Opened as the workspace’s record, at the keeper’s route (ViewCx::shared_workspace in tilo-app): one record for every member, its changes decided by the workspace’s grants on the keeper’s resource.

Required Associated Constants§

Source

const OWNER: &'static str

The app that keeps the record: whose route holds it, and whose surface its changes are decided against.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§