Struct async_wasi::snapshots::serialize::SerialWasiCtx
source · pub struct SerialWasiCtx {
pub args: Vec<String>,
pub envs: Vec<String>,
pub vfs: SerialObjectPool<SerialVFD>,
pub vfs_preopen_limit: usize,
pub io_state: IoState,
pub exit_code: u32,
}
Fields§
§args: Vec<String>
§envs: Vec<String>
§vfs: SerialObjectPool<SerialVFD>
§vfs_preopen_limit: usize
§io_state: IoState
§exit_code: u32
Implementations§
Trait Implementations§
source§impl Clone for SerialWasiCtx
impl Clone for SerialWasiCtx
source§fn clone(&self) -> SerialWasiCtx
fn clone(&self) -> SerialWasiCtx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SerialWasiCtx
impl Debug for SerialWasiCtx
source§impl<'de> Deserialize<'de> for SerialWasiCtx
impl<'de> Deserialize<'de> for SerialWasiCtx
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&WasiCtx> for SerialWasiCtx
impl From<&WasiCtx> for SerialWasiCtx
Auto Trait Implementations§
impl RefUnwindSafe for SerialWasiCtx
impl Send for SerialWasiCtx
impl Sync for SerialWasiCtx
impl Unpin for SerialWasiCtx
impl UnwindSafe for SerialWasiCtx
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