Struct sc_executor_common::sandbox::GuestExternals
source · [−]pub struct GuestExternals<'a, FE: SandboxCapabilities + 'a> { /* private fields */ }
Expand description
Trait Implementations
sourceimpl<'a, FE: SandboxCapabilities + 'a> Externals for GuestExternals<'a, FE>
impl<'a, FE: SandboxCapabilities + 'a> Externals for GuestExternals<'a, FE>
sourcefn invoke_index(
&mut self,
index: usize,
args: RuntimeArgs<'_>
) -> Result<Option<RuntimeValue>, Trap>
fn invoke_index(
&mut self,
index: usize,
args: RuntimeArgs<'_>
) -> Result<Option<RuntimeValue>, Trap>
Perform invoke of a host function by specified index
.
Auto Trait Implementations
impl<'a, FE> !RefUnwindSafe for GuestExternals<'a, FE>
impl<'a, FE> !Send for GuestExternals<'a, FE>
impl<'a, FE> !Sync for GuestExternals<'a, FE>
impl<'a, FE> Unpin for GuestExternals<'a, FE>
impl<'a, FE> !UnwindSafe for GuestExternals<'a, FE>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
sourceimpl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
sourcepub fn unchecked_into(self) -> T
pub fn unchecked_into(self) -> T
The counterpart to unchecked_from
.