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
Auto 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