pub struct HostError(pub String);Expand description
error raised by the host or by the port (throw new Error(message))
Tuple Fields§
§0: StringTrait Implementations§
impl StructuralPartialEq for HostError
Auto Trait Implementations§
impl Forget for HostError
impl Freeze for HostError
impl Move for HostError
impl RefUnwindSafe for HostError
impl Send for HostError
impl Sync for HostError
impl Unpin for HostError
impl UnsafeUnpin for HostError
impl UnwindSafe for HostError
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