Enum safe_app::AppContext
[−]
[src]
pub enum AppContext { Unregistered(Rc<Unregistered>), Registered(Rc<Registered>), }
Application context (data associated with the app).
Variants
Unregistered(Rc<Unregistered>)
Context of unregistered app.
Registered(Rc<Registered>)
Context of registered app.
Methods
impl AppContext
[src]
fn object_cache(&self) -> &ObjectCache
[src]
Object cache
fn sym_enc_key(&self) -> Result<&Key, AppError>
[src]
Symmetric encryption/decryption key.
fn refresh_access_info(
&self,
client: &Client<AppContext>
) -> Box<Future<Item = (), Error = AppError>>
[src]
&self,
client: &Client<AppContext>
) -> Box<Future<Item = (), Error = AppError>>
Refresh access info by fetching it from the network.
fn get_access_info(
&self,
client: &Client<AppContext>
) -> Box<Future<Item = HashMap<String, (MDataInfo, BTreeSet<Permission>)>, Error = AppError>>
[src]
&self,
client: &Client<AppContext>
) -> Box<Future<Item = HashMap<String, (MDataInfo, BTreeSet<Permission>)>, Error = AppError>>
Fetch a list of containers that this app has access to
Trait Implementations
impl Clone for AppContext
[src]
fn clone(&self) -> AppContext
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more