pub enum PluginClientError {
Spawn {
plugin: String,
path: PathBuf,
source: Error,
},
InitFailed {
plugin: String,
detail: String,
},
RestartCapExceeded {
plugin: String,
cap: usize,
window: Duration,
},
Disabled {
plugin: String,
reason: String,
},
Io {
plugin: String,
source: Error,
},
MalformedResponse {
plugin: String,
source: Error,
},
UnexpectedPayload {
plugin: String,
method: String,
},
PluginError {
plugin: String,
detail: String,
},
IdMismatch {
plugin: String,
expected: u64,
got: u64,
},
}Variants§
Spawn
InitFailed
RestartCapExceeded
Disabled
Io
MalformedResponse
UnexpectedPayload
PluginError
IdMismatch
Trait Implementations§
Source§impl Debug for PluginClientError
impl Debug for PluginClientError
Source§impl Display for PluginClientError
impl Display for PluginClientError
Source§impl Error for PluginClientError
impl Error for PluginClientError
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 PluginClientError
impl !RefUnwindSafe for PluginClientError
impl Send for PluginClientError
impl Sync for PluginClientError
impl Unpin for PluginClientError
impl UnsafeUnpin for PluginClientError
impl !UnwindSafe for PluginClientError
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