pub enum PluginError {
Io(String),
Parse(String),
Unsupported(String),
Transient(String),
Timeout(String),
Manifest(String),
Panic(String),
}Variants§
Io(String)
Parse(String)
Unsupported(String)
Transient(String)
Timeout(String)
Host-side timeout: a blocking external call or sample did not finish
within its wall-clock deadline. There is no corresponding
RPluginErrorKind::Timeout because plugins cannot return this across
the FFI boundary; the daemon synthesizes it when a sample exceeds its
deadline.
Manifest(String)
ABI v4 host-side validation failure on a plugin’s manifest. This
variant has no corresponding RPluginError discriminant — the
daemon synthesizes it during host_init after inspecting the
raw R-mirror manifest. Plugins cannot produce it across the FFI
boundary; cross-process error payloads from a plugin route
through Io / Parse / Unsupported / Transient instead.
Panic(String)
Plugin code panicked during init or sample. Caught by
catch_unwind so the daemon stays alive.
Trait Implementations§
Source§impl Clone for PluginError
impl Clone for PluginError
Source§fn clone(&self) -> PluginError
fn clone(&self) -> PluginError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PluginError
impl Debug for PluginError
Source§impl Display for PluginError
impl Display for PluginError
Source§impl Error for PluginError
impl Error for PluginError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()