pub struct WasiCtx { /* private fields */ }
Implementations§
Source§impl WasiCtx
impl WasiCtx
pub fn get_preopen_real_paths(&self) -> &Vec<CString>
pub fn get_preopen_mapped_paths(&self) -> &Vec<CString>
pub fn get_allowed_address(&self) -> &Vec<CString>
pub fn get_allowed_dns(&self) -> &Vec<CString>
pub fn get_env_vars(&self) -> &Vec<CString>
pub fn get_env_vars_ptrs(&self) -> &Vec<*const c_char>
pub fn get_arguments(&self) -> &Vec<CString>
pub fn get_arguments_ptrs(&self) -> &Vec<*const c_char>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WasiCtx
impl RefUnwindSafe for WasiCtx
impl !Send for WasiCtx
impl !Sync for WasiCtx
impl Unpin for WasiCtx
impl UnwindSafe for WasiCtx
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