pub struct AgentWasmRuntime { /* private fields */ }Expand description
The WASM runtime for the agent.
Implementations§
Trait Implementations§
Source§impl From<AgentWasmRuntime> for JsValue
impl From<AgentWasmRuntime> for JsValue
Source§fn from(value: AgentWasmRuntime) -> Self
fn from(value: AgentWasmRuntime) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for AgentWasmRuntime
impl FromWasmAbi for AgentWasmRuntime
Source§impl IntoWasmAbi for AgentWasmRuntime
impl IntoWasmAbi for AgentWasmRuntime
Source§impl OptionFromWasmAbi for AgentWasmRuntime
impl OptionFromWasmAbi for AgentWasmRuntime
Source§impl OptionIntoWasmAbi for AgentWasmRuntime
impl OptionIntoWasmAbi for AgentWasmRuntime
Source§impl RefFromWasmAbi for AgentWasmRuntime
impl RefFromWasmAbi for AgentWasmRuntime
Source§type Anchor = RcRef<AgentWasmRuntime>
type Anchor = RcRef<AgentWasmRuntime>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for AgentWasmRuntime
impl RefMutFromWasmAbi for AgentWasmRuntime
impl SupportsConstructor for AgentWasmRuntime
impl SupportsInstanceProperty for AgentWasmRuntime
impl SupportsStaticProperty for AgentWasmRuntime
Source§impl TryFromJsValue for AgentWasmRuntime
impl TryFromJsValue for AgentWasmRuntime
Source§impl VectorFromWasmAbi for AgentWasmRuntime
impl VectorFromWasmAbi for AgentWasmRuntime
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AgentWasmRuntime]>
Source§impl VectorIntoJsValue for AgentWasmRuntime
impl VectorIntoJsValue for AgentWasmRuntime
fn vector_into_jsvalue(vector: Box<[AgentWasmRuntime]>) -> JsValue
Source§impl VectorIntoWasmAbi for AgentWasmRuntime
impl VectorIntoWasmAbi for AgentWasmRuntime
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AgentWasmRuntime]>) -> Self::Abi
Source§impl WasmDescribeVector for AgentWasmRuntime
impl WasmDescribeVector for AgentWasmRuntime
Auto Trait Implementations§
impl !Freeze for AgentWasmRuntime
impl !RefUnwindSafe for AgentWasmRuntime
impl !Send for AgentWasmRuntime
impl !Sync for AgentWasmRuntime
impl !UnwindSafe for AgentWasmRuntime
impl Unpin for AgentWasmRuntime
impl UnsafeUnpin for AgentWasmRuntime
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.