pub enum PluginToolError {
NullHandle,
Plugin(String),
NoRuntime(String),
}Expand description
Error returned by [PluginToolAdapter::execute] when the plugin side failed
(terminal Err from poll, or the drive handle was never produced).
Variants§
Trait Implementations§
Source§impl Debug for PluginToolError
impl Debug for PluginToolError
Source§impl Display for PluginToolError
impl Display for PluginToolError
Source§impl Error for PluginToolError
impl Error for PluginToolError
1.30.0 · 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 PluginToolError
impl RefUnwindSafe for PluginToolError
impl Send for PluginToolError
impl Sync for PluginToolError
impl Unpin for PluginToolError
impl UnsafeUnpin for PluginToolError
impl UnwindSafe for PluginToolError
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