Struct wasmtime_cli_flags::WasiOptions
source · pub struct WasiOptions {
pub common: Option<bool>,
pub nn: Option<bool>,
pub threads: Option<bool>,
pub http: Option<bool>,
pub listenfd: Option<bool>,
pub tcplisten: Vec<String>,
pub preview2: Option<bool>,
pub nn_graph: Vec<WasiNnGraph>,
pub inherit_network: Option<bool>,
pub allow_ip_name_lookup: Option<bool>,
}
Fields§
§common: Option<bool>
§nn: Option<bool>
§threads: Option<bool>
§http: Option<bool>
§listenfd: Option<bool>
§tcplisten: Vec<String>
§preview2: Option<bool>
§nn_graph: Vec<WasiNnGraph>
§inherit_network: Option<bool>
§allow_ip_name_lookup: Option<bool>
Trait Implementations§
source§impl Debug for WasiOptions
impl Debug for WasiOptions
source§impl Default for WasiOptions
impl Default for WasiOptions
source§fn default() -> WasiOptions
fn default() -> WasiOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for WasiOptions
impl Send for WasiOptions
impl Sync for WasiOptions
impl Unpin for WasiOptions
impl UnwindSafe for WasiOptions
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