Enum dygpi::error::ErrorKind[][src]

pub enum ErrorKind {
    LibraryOpenFailed(StringBox<dyn Error>),
    LibraryCloseFailed(StringBox<dyn Error>),
    SymbolNotFound(StringBox<dyn Error>),
    IncompatibleLibraryVersion(String),
    PluginRegistration(Box<dyn Error>),
    UnknownPluginManagerType(String),
}
Expand description

Errors returned by functions and methods in this crate.

Variants

LibraryOpenFailed(StringBox<dyn Error>)

Failed to load the dynamic library specified by file name. The first parameter is the library path, the second is the underlying system error.

LibraryCloseFailed(StringBox<dyn Error>)

Failed to close the dynamic library and free any resources. The first parameter is the library path, the second is the underlying system error.

SymbolNotFound(StringBox<dyn Error>)

Failed to find the symbol within the dynamic library. The first parameter is the library path, the second is the underlying system error.

IncompatibleLibraryVersion(String)

The plugin host and plugin library are incompatible. The parameter contains the path of the incompatible library.

PluginRegistration(Box<dyn Error>)

An error was reported by the plugin library when attempting to register a plugin. The parameter is the error the plugin library provided to the registrar.

UnknownPluginManagerType(String)

The plugin manager type is not known in the configuration. The parameter is the plugin type identifier that could not be found.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.