Struct wasmtime_cli_flags::WasiOptions
source · pub struct WasiOptions {Show 13 fields
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>,
pub tcp: Option<bool>,
pub udp: Option<bool>,
pub preview0: 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>
§tcp: Option<bool>
§udp: Option<bool>
§preview0: Option<bool>
Trait Implementations§
source§impl Clone for WasiOptions
impl Clone for WasiOptions
source§fn clone(&self) -> WasiOptions
fn clone(&self) -> WasiOptions
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 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
source§impl PartialEq for WasiOptions
impl PartialEq for WasiOptions
source§fn eq(&self, other: &WasiOptions) -> bool
fn eq(&self, other: &WasiOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WasiOptions
Auto Trait Implementations§
impl Freeze for WasiOptions
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