pub struct Provisioned {
pub account_ref: String,
pub entry: AccountEntry,
pub store_root: PathBuf,
pub cap: Option<Zeroizing<String>>,
}Expand description
What the environment hands one session at spawn/registration.
Fields§
§account_ref: String§entry: AccountEntry§store_root: PathBufThis account’s own store root (own vault, own key, own server token).
cap: Option<Zeroizing<String>>Fresh capability, only when one was issued by this call (first time or rotation).
Implementations§
Source§impl Provisioned
impl Provisioned
Sourcepub fn session_env(&self) -> Vec<(&'static str, String)>
pub fn session_env(&self) -> Vec<(&'static str, String)>
Env for THAT session’s process only: its local login session id (the account ref, so no two sessions share a login/token), its nick, its own store root and, when issued, its cap.
Auto Trait Implementations§
impl Freeze for Provisioned
impl RefUnwindSafe for Provisioned
impl Send for Provisioned
impl Sync for Provisioned
impl Unpin for Provisioned
impl UnsafeUnpin for Provisioned
impl UnwindSafe for Provisioned
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more