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]
impl AppContext
pub fn object_cache(&self) -> &ObjectCache
[src]
pub fn object_cache(&self) -> &ObjectCache
Object cache
pub fn sym_enc_key(&self) -> Result<&Key, AppError>
[src]
pub fn sym_enc_key(&self) -> Result<&Key, AppError>
Symmetric encryption/decryption key.
ⓘImportant traits for Box<R>pub fn refresh_access_info(
&self,
client: &Client<AppContext>
) -> Box<Future<Item = (), Error = AppError>>
[src]
ⓘImportant traits for Box<R>
pub fn refresh_access_info(
&self,
client: &Client<AppContext>
) -> Box<Future<Item = (), Error = AppError>>
Refresh access info by fetching it from the network.
ⓘImportant traits for Box<R>pub fn get_access_info(
&self,
client: &Client<AppContext>
) -> Box<Future<Item = AccessContainerEntry, Error = AppError>>
[src]
ⓘImportant traits for Box<R>
pub fn get_access_info(
&self,
client: &Client<AppContext>
) -> Box<Future<Item = AccessContainerEntry, Error = AppError>>
Fetch a list of containers that this app has access to
Trait Implementations
impl Clone for AppContext
[src]
impl Clone for AppContext
fn clone(&self) -> AppContext
[src]
fn clone(&self) -> AppContext
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for AppContext
impl !Send for AppContext
impl !Sync for AppContext
impl !Sync for AppContext