#[non_exhaustive]pub enum Error {
}Expand description
Main error type for vst3-host operations.
Marked #[non_exhaustive]: match with a wildcard arm, as new variants may be added in
future versions without it being a breaking change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PluginNotFound(String)
Plugin file not found
PluginLoadFailed(String)
Failed to load plugin
PluginCrashed
Plugin crashed during operation
PluginTimeout
Plugin operation timed out
InvalidParameter(String)
Invalid parameter
AudioBackendError(String)
Audio backend error
MidiError(String)
MIDI error
InterfaceError(String)
COM/VST3 interface error
ProcessError(String)
Process isolation error
IoError(Error)
IO error
ProcessFailed(i32)
The plugin’s process() returned a failure code. Carries the raw tresult rather than a
formatted String so returning it from the audio callback allocates nothing.
NotProcessing
The plugin is not currently active/processing. A unit variant for the same reason as
Self::ProcessFailed — this is rejected on the audio path once per block while stopped.
Other(String)
Other errors
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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()