Struct wasmtime_wit_bindgen::TrappableError
source · pub struct TrappableError {
pub wit_package_path: String,
pub wit_type_name: String,
pub rust_type_name: String,
}
Fields§
§wit_package_path: String
The package and interface that define the error type being mapped.
wit_type_name: String
The name of the error type in WIT that is being mapped.
rust_type_name: String
The name, in Rust, of the error type to generate.
Trait Implementations§
source§impl Clone for TrappableError
impl Clone for TrappableError
source§fn clone(&self) -> TrappableError
fn clone(&self) -> TrappableError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for TrappableError
impl Send for TrappableError
impl Sync for TrappableError
impl Unpin for TrappableError
impl UnwindSafe for TrappableError
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