pub enum PluginHostError {
Discovery(PluginDiscoveryError),
Subprocess(SubprocessError),
NotFound(String),
UnsupportedAction(String, String),
Export(String),
}Variants§
Discovery(PluginDiscoveryError)
Subprocess(SubprocessError)
NotFound(String)
UnsupportedAction(String, String)
Export(String)
Trait Implementations§
Source§impl Debug for PluginHostError
impl Debug for PluginHostError
Source§impl Display for PluginHostError
impl Display for PluginHostError
Source§impl Error for PluginHostError
impl Error for PluginHostError
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()
Source§impl From<PluginDiscoveryError> for PluginHostError
impl From<PluginDiscoveryError> for PluginHostError
Source§fn from(source: PluginDiscoveryError) -> Self
fn from(source: PluginDiscoveryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PluginHostError
impl !UnwindSafe for PluginHostError
impl Freeze for PluginHostError
impl Send for PluginHostError
impl Sync for PluginHostError
impl Unpin for PluginHostError
impl UnsafeUnpin for PluginHostError
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