pub struct TrappableError {
pub wit_path: String,
pub rust_type_name: String,
}
Fields§
§wit_path: String
Full path to the error, such as wasi:io/streams/error
.
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 Freeze for TrappableError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)