pub struct WasmError {
pub message: String,
pub kind: String,
}Expand description
WASM-specific error type that can cross the JS boundary
Fields§
§message: String§kind: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for WasmError
impl<'de> Deserialize<'de> for WasmError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<RuvectorError> for WasmError
impl From<RuvectorError> for WasmError
Source§fn from(err: RuvectorError) -> Self
fn from(err: RuvectorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WasmError
impl RefUnwindSafe for WasmError
impl Send for WasmError
impl Sync for WasmError
impl Unpin for WasmError
impl UnwindSafe for WasmError
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