Struct wasmedge_sdk::ExportType
source · pub struct ExportType<'module> { /* private fields */ }
Expand description
Defines the types of the exported instances.
Implementations§
source§impl<'module> ExportType<'module>
impl<'module> ExportType<'module>
sourcepub fn ty(&self) -> WasmEdgeResult<ExternalInstanceType>
pub fn ty(&self) -> WasmEdgeResult<ExternalInstanceType>
Returns the type of the exported WasmEdge instance, which is one of the types defined in ExternalInstanceType.