Struct sp_core::traits::CallInWasmExt [−][src]
pub struct CallInWasmExt(pub Box<dyn CallInWasm>);
The call-in-wasm extension to register/retrieve from the externalities.
Implementations
impl CallInWasmExt
[src]
impl CallInWasmExt
[src]pub fn new<T: CallInWasm + 'static>(inner: T) -> Self
[src]
Creates a new instance of Self
.
Methods from Deref<Target = Box<dyn CallInWasm>>
Trait Implementations
impl Deref for CallInWasmExt
[src]
impl Deref for CallInWasmExt
[src]impl Extension for CallInWasmExt
[src]
impl Extension for CallInWasmExt
[src]fn as_mut_any(&mut self) -> &mut dyn Any
[src]
impl From<Box<dyn CallInWasm + 'static, Global>> for CallInWasmExt
[src]
impl From<Box<dyn CallInWasm + 'static, Global>> for CallInWasmExt
[src]fn from(inner: Box<dyn CallInWasm>) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CallInWasmExt
impl Send for CallInWasmExt
impl Sync for CallInWasmExt
impl Unpin for CallInWasmExt
impl !UnwindSafe for CallInWasmExt
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]