pub enum NylonRingHostError {
Show 19 variants
FailedToLoadLibrary(Error),
MissingSymbol(String),
NullPluginInfo,
IncompatibleAbiVersion {
expected: u32,
actual: u32,
},
IncompatiblePluginInfoSize {
expected: u32,
actual: u32,
},
NullPluginVTable,
MissingRequiredFunctions,
PluginNotFound(String),
PluginInitFailed(NrStatus),
PluginHandleFailed(NrStatus),
PluginUnloaded,
PluginPanicked,
MissingSynchronousResponse,
Timeout,
DrainTimeout {
remaining: usize,
},
PluginBusy {
active_calls: usize,
},
FastPathReentrant,
EntryDispatchUnsupported,
EntryNotFound(String),
}Expand description
Errors that can occur in the nylon-ring-host crate.
Variants§
FailedToLoadLibrary(Error)
MissingSymbol(String)
NullPluginInfo
IncompatibleAbiVersion
IncompatiblePluginInfoSize
NullPluginVTable
MissingRequiredFunctions
PluginNotFound(String)
PluginInitFailed(NrStatus)
PluginHandleFailed(NrStatus)
PluginUnloaded
PluginPanicked
MissingSynchronousResponse
Timeout
DrainTimeout
PluginBusy
FastPathReentrant
EntryDispatchUnsupported
EntryNotFound(String)
Trait Implementations§
Source§impl Debug for NylonRingHostError
impl Debug for NylonRingHostError
Source§impl Display for NylonRingHostError
impl Display for NylonRingHostError
Source§impl Error for NylonRingHostError
impl Error for NylonRingHostError
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 NylonRingHostError
impl RefUnwindSafe for NylonRingHostError
impl Send for NylonRingHostError
impl Sync for NylonRingHostError
impl Unpin for NylonRingHostError
impl UnsafeUnpin for NylonRingHostError
impl UnwindSafe for NylonRingHostError
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