pub struct HarnessConfig {Show 17 fields
pub wasm_bytes: Vec<u8>,
pub tenant_ctx: TenantCtx,
pub flow_id: String,
pub node_id: Option<String>,
pub state_prefix: String,
pub state_seeds: Vec<(String, Vec<u8>)>,
pub allow_state_read: bool,
pub allow_state_write: bool,
pub allow_state_delete: bool,
pub allow_secrets: bool,
pub allowed_secrets: HashSet<String>,
pub secrets: HashMap<String, String>,
pub wasi_preopens: Vec<WasiPreopen>,
pub config: Option<Value>,
pub allow_http: bool,
pub timeout_ms: u64,
pub max_memory_bytes: usize,
}Fields§
§wasm_bytes: Vec<u8>§tenant_ctx: TenantCtx§flow_id: String§node_id: Option<String>§state_prefix: String§state_seeds: Vec<(String, Vec<u8>)>§allow_state_read: bool§allow_state_write: bool§allow_state_delete: bool§allow_secrets: bool§allowed_secrets: HashSet<String>§secrets: HashMap<String, String>§wasi_preopens: Vec<WasiPreopen>§config: Option<Value>§allow_http: bool§timeout_ms: u64§max_memory_bytes: usizeAuto Trait Implementations§
impl Freeze for HarnessConfig
impl RefUnwindSafe for HarnessConfig
impl Send for HarnessConfig
impl Sync for HarnessConfig
impl Unpin for HarnessConfig
impl UnsafeUnpin for HarnessConfig
impl UnwindSafe for HarnessConfig
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
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more