pub enum PluginError {
Args(String),
ShmTimeout(PathBuf),
ShmOpen(String),
Rpc(RpcError),
Transport(TransportError),
}Expand description
Error type for plugin runtime operations
Variants§
Args(String)
Failed to parse command line arguments
ShmTimeout(PathBuf)
SHM file was not created by host within timeout
ShmOpen(String)
Failed to open SHM session
Rpc(RpcError)
RPC session error
Transport(TransportError)
Transport error
Trait Implementations§
Source§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)>
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<RpcError> for PluginError
impl From<RpcError> for PluginError
Source§impl From<TransportError> for PluginError
impl From<TransportError> for PluginError
Source§fn from(e: TransportError) -> Self
fn from(e: TransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PluginError
impl !RefUnwindSafe for PluginError
impl Send for PluginError
impl Sync for PluginError
impl Unpin for PluginError
impl !UnwindSafe for PluginError
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