[−][src]Enum winaudio::Error
Errors that can occur when working with Windows' sound API.
Variants
Unspecified error.
Device ID out of range.
Driver failed enable.
Device already allocated.
Device handle is invalid.
No device driver present.
Memory allocation error.
Function isn't supported.
Error value out of range.
Invalid flag passed.
Invalid parameter passed.
Handle being used.
Specified alias not found.
Bad registry database.
Registry key not found.
Registry read error.
Registry write error.
Registry delete error.
Registry value not found.
Driver does not call DriverCallback.
More data to be returned.
Attempted to open with an unsupported waveform-audio format.
There are still buffers in the queue.
The data block pointed to by the parameter hasn't been prepared.
The device is synchronous but the device was opened without using the AllowSync
flag.
Trait Implementations
impl Clone for Error
[src]
impl Copy for Error
[src]
impl Debug for Error
[src]
impl Eq for Error
[src]
impl PartialEq<Error> for Error
[src]
impl StructuralEq for Error
[src]
impl StructuralPartialEq for Error
[src]
impl TryFrom<u32> for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,