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.
Trait Implementations§
Auto Trait Implementations§
impl<'module> RefUnwindSafe for ExportType<'module>
impl<'module> Send for ExportType<'module>
impl<'module> Sync for ExportType<'module>
impl<'module> Unpin for ExportType<'module>
impl<'module> UnwindSafe for ExportType<'module>
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