pub struct AppSandbox {
pub app_id: usize,
pub manifest: AppManifest,
pub data_dir: String,
}Fields§
§app_id: usize§manifest: AppManifest§data_dir: StringImplementations§
Source§impl AppSandbox
impl AppSandbox
pub fn new(app_id: usize, manifest: AppManifest) -> Self
pub fn resolve_path(&self, requested_path: &str) -> Option<String>
Trait Implementations§
Source§impl Clone for AppSandbox
impl Clone for AppSandbox
Source§fn clone(&self) -> AppSandbox
fn clone(&self) -> AppSandbox
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AppSandbox
impl RefUnwindSafe for AppSandbox
impl Send for AppSandbox
impl Sync for AppSandbox
impl Unpin for AppSandbox
impl UnsafeUnpin for AppSandbox
impl UnwindSafe for AppSandbox
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