pub enum PluginInstanceError {
Show 15 variants
StartProcessingFailed,
AlreadyActivatedPlugin,
StillActivatedPlugin,
DeactivatedPlugin,
ActivationFailed,
PluginNotFound,
MissingPluginFactory,
InstantiationFailed,
PluginDestroyed,
ProcessingFailed,
ProcessingStopped,
ProcessingStarted,
NullFactoryCreatePluginFunction,
NullProcessFunction,
NullActivateFunction,
}Expand description
All errors that can arise using plugin instances.
Variants§
StartProcessingFailed
The plugin’s audio processing could not be started.
AlreadyActivatedPlugin
Tried to activate a plugin that was already activated.
StillActivatedPlugin
Tried to deactivate a plugin instance while its audio processor was still alive.
DeactivatedPlugin
Attempted to perform an operation on the plugin instance’s audio processor, but it was not activated yet.
ActivationFailed
The plugin instance’s audio processor’s activation failed.
PluginNotFound
No plugin with a matching ID was found during instantiation.
MissingPluginFactory
Tried to instantiate a plugin from an entry which lacks a PluginFactory.
This is a sign of a misbehaving plugin implementation.
InstantiationFailed
The plugin’s instantiation failed.
PluginDestroyed
The plugin has already been destroyed.
ProcessingFailed
The plugin’s audio processing failed.
ProcessingStopped
Tried to perform or stop processing when the audio processor was not started yet.
ProcessingStarted
Tried to start processing when the processing was already started.
NullFactoryCreatePluginFunction
The underlying plugin’s create_plugin C function was a null pointer.
This is a sign of a misbehaving plugin implementation.
NullProcessFunction
The underlying plugin’s process C function was a null pointer.
This is a sign of a misbehaving plugin implementation.
NullActivateFunction
The underlying plugin’s activate C function was a null pointer.
This is a sign of a misbehaving plugin implementation.
Trait Implementations§
Source§impl Clone for PluginInstanceError
impl Clone for PluginInstanceError
Source§fn clone(&self) -> PluginInstanceError
fn clone(&self) -> PluginInstanceError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for PluginInstanceError
Source§impl Debug for PluginInstanceError
impl Debug for PluginInstanceError
Source§impl Display for PluginInstanceError
impl Display for PluginInstanceError
impl Eq for PluginInstanceError
Source§impl Error for PluginInstanceError
impl Error for PluginInstanceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()