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