#[non_exhaustive]pub enum InitializationError {
LoadError(LoadError),
LoginError(LoginError),
AlreadyLoggedOut,
InformationError(GetVoicemeeterInformationError),
}
Available on crate feature
interface
only.Expand description
Errors that can occur when initializing the Voicemeeter remote DLL.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LoadError(LoadError)
Error while loading the DLL.
LoginError(LoginError)
Error when logging in.
AlreadyLoggedOut
Application has already logged out.
InformationError(GetVoicemeeterInformationError)
Error when getting the Voicemeeter application type.
Trait Implementations§
source§impl Debug for InitializationError
impl Debug for InitializationError
source§impl Display for InitializationError
impl Display for InitializationError
source§impl Error for InitializationError
impl Error for InitializationError
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()
source§impl From<GetVoicemeeterInformationError> for InitializationError
impl From<GetVoicemeeterInformationError> for InitializationError
source§fn from(source: GetVoicemeeterInformationError) -> Self
fn from(source: GetVoicemeeterInformationError) -> Self
Converts to this type from the input type.
source§impl From<LoadError> for InitializationError
impl From<LoadError> for InitializationError
source§impl From<LoginError> for InitializationError
impl From<LoginError> for InitializationError
source§fn from(source: LoginError) -> Self
fn from(source: LoginError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InitializationError
impl Send for InitializationError
impl Sync for InitializationError
impl Unpin for InitializationError
impl !UnwindSafe for InitializationError
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