pub struct RuntimeConfig {
pub runtime_binaries_directory: Option<PathBuf>,
pub storage_directory: Option<PathBuf>,
pub ephemeral_storage: bool,
}Expand description
Options for qar_runtime_create; None keeps the library default.
Fields§
§runtime_binaries_directory: Option<PathBuf>Directory holding the runtime binaries (the package’s bin/).
storage_directory: Option<PathBuf>Root for device certificates and session state; the library default
on Windows is %LOCALAPPDATA%\Quaternar\QarOS. Give each runtime
instance in one application its own directory.
ephemeral_storage: boolKeep the identity in memory only (QarRuntimeEphemeralStorageExt), for a co-process
that joins with an invite from its parent app: nothing is written under the storage
directory, and the deprecated Runtime::rejoin and Runtime::forget fail with
crate::StatusCode::ARGUMENT_NOT_SUPPORTED. A runtime
older than the extension skips it and stores the identity on disk: check
crate::Library::runtime_info before relying on it.
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§impl Debug for RuntimeConfig
impl Debug for RuntimeConfig
Auto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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