pub enum PluginInvokeError {
UnreachableWebview,
InvokeRejected(ErrorResponse),
CannotDeserializeResponse(Error),
CannotSerializePayload(Error),
}
Expand description
Possible errors when invoking a plugin.
Variants§
UnreachableWebview
Failed to reach platform webview handle.
InvokeRejected(ErrorResponse)
Error returned from direct mobile plugin invoke.
CannotDeserializeResponse(Error)
Failed to deserialize response.
CannotSerializePayload(Error)
Failed to serialize request payload.
Trait Implementations§
Source§impl Debug for PluginInvokeError
impl Debug for PluginInvokeError
Source§impl Display for PluginInvokeError
impl Display for PluginInvokeError
Source§impl Error for PluginInvokeError
impl Error for PluginInvokeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for PluginInvokeError
impl !RefUnwindSafe for PluginInvokeError
impl Send for PluginInvokeError
impl Sync for PluginInvokeError
impl Unpin for PluginInvokeError
impl !UnwindSafe for PluginInvokeError
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