Enum cubeb_backend::ErrorCode
source · [−]pub enum ErrorCode {
Error,
InvalidFormat,
InvalidParameter,
NotSupported,
DeviceUnavailable,
}Expand description
An enumeration of possible errors that can happen when working with cubeb.
Variants
Error
GenericError
InvalidFormat
Requested format is invalid
InvalidParameter
Requested parameter is invalid
NotSupported
Requested operation is not supported
DeviceUnavailable
Requested device is unavailable
Trait Implementations
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralEq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more