Enum vst::host::PluginLoadError
source · pub enum PluginLoadError {
InvalidPath,
NotAPlugin,
InstanceFailed,
InvalidApiVersion,
}
Expand description
All possible errors that can occur when loading a VST plugin.
Variants§
InvalidPath
Could not load given path.
NotAPlugin
Given path is not a VST plugin.
InstanceFailed
Failed to create an instance of this plugin.
This can happen for many reasons, such as if the plugin requires a different version of the VST API to be used, or due to improper licensing.
InvalidApiVersion
The API version which the plugin used is not supported by this library.
Trait Implementations§
source§impl Debug for PluginLoadError
impl Debug for PluginLoadError
source§impl Display for PluginLoadError
impl Display for PluginLoadError
source§impl Error for PluginLoadError
impl Error for PluginLoadError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()