Enum rtaudio::RtAudioErrorType
source · #[repr(i32)]pub enum RtAudioErrorType {
Warning = 1,
Unkown = 2,
NoDevicesFound = 3,
InvalidDevice = 4,
DeviceDisconnect = 5,
MemoryError = 6,
InvalidParamter = 7,
InvalidUse = 8,
DriverError = 9,
SystemError = 10,
ThreadError = 11,
}
Variants§
Warning = 1
A non-critical error.
Unkown = 2
An unspecified error type.
NoDevicesFound = 3
No devices found on system.
InvalidDevice = 4
An invalid device ID was specified.
DeviceDisconnect = 5
A device in use was disconnected.
MemoryError = 6
An error occurred during memory allocation.
InvalidParamter = 7
An invalid parameter was specified to a function.
InvalidUse = 8
The function was called incorrectly.
DriverError = 9
A system driver error occurred.
SystemError = 10
A system error occurred.
ThreadError = 11
A thread error occurred.
Implementations§
source§impl RtAudioErrorType
impl RtAudioErrorType
pub fn from_raw(e: rtaudio_error_t) -> Option<RtAudioErrorType>
Trait Implementations§
source§impl Clone for RtAudioErrorType
impl Clone for RtAudioErrorType
source§fn clone(&self) -> RtAudioErrorType
fn clone(&self) -> RtAudioErrorType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RtAudioErrorType
impl Debug for RtAudioErrorType
source§impl PartialEq for RtAudioErrorType
impl PartialEq for RtAudioErrorType
source§fn eq(&self, other: &RtAudioErrorType) -> bool
fn eq(&self, other: &RtAudioErrorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RtAudioErrorType
impl StructuralEq for RtAudioErrorType
impl StructuralPartialEq for RtAudioErrorType
Auto Trait Implementations§
impl RefUnwindSafe for RtAudioErrorType
impl Send for RtAudioErrorType
impl Sync for RtAudioErrorType
impl Unpin for RtAudioErrorType
impl UnwindSafe for RtAudioErrorType
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