pub struct ExportType<'module> { /* private fields */ }
Expand description
Defines the types of the exported instances.
Implementations§
Source§impl ExportType<'_>
impl ExportType<'_>
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> Freeze for ExportType<'module>
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