Enum libpulse_sys::error::pa_error_code_t [−][src]
Error code.
These represent the i32 error codes returned by many of the underlying PulseAudio C functions.
Beware, these enum values are positive values, whilst PA functions return them in negative form,
i.e. the Invalid
variant here has a value of 3
, while functions returning this error code
return -3
. (This is identical to the enum provided in the PA C API).
Variants
No error.
Access failure.
Unknown command.
Invalid argument.
Entity exists.
No such entity.
Connection refused.
Protocol error.
No authentication key.
Entity killed.
Incompatible protocol version.
Data too large.
Operation not supported.
The error code was unknown to the client.
Extension does not exist.
Obsolete functionality.
Missing implementation.
The caller forked without calling execve() and tried to reuse the context.
An IO error happened.
Device or resource busy.
Trait Implementations
impl Clone for pa_error_code_t
[src]
fn clone(&self) -> pa_error_code_t
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for pa_error_code_t
[src]
impl Debug for pa_error_code_t
[src]
impl Eq for pa_error_code_t
[src]
impl FromPrimitive for pa_error_code_t
[src]
fn from_i64(n: i64) -> Option<Self>
[src]
fn from_u64(n: u64) -> Option<Self>
[src]
pub fn from_isize(n: isize) -> Option<Self>
[src]
pub fn from_i8(n: i8) -> Option<Self>
[src]
pub fn from_i16(n: i16) -> Option<Self>
[src]
pub fn from_i32(n: i32) -> Option<Self>
[src]
pub fn from_i128(n: i128) -> Option<Self>
[src]
pub fn from_usize(n: usize) -> Option<Self>
[src]
pub fn from_u8(n: u8) -> Option<Self>
[src]
pub fn from_u16(n: u16) -> Option<Self>
[src]
pub fn from_u32(n: u32) -> Option<Self>
[src]
pub fn from_u128(n: u128) -> Option<Self>
[src]
pub fn from_f32(n: f32) -> Option<Self>
[src]
pub fn from_f64(n: f64) -> Option<Self>
[src]
impl PartialEq<pa_error_code_t> for pa_error_code_t
[src]
fn eq(&self, other: &pa_error_code_t) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for pa_error_code_t
[src]
impl StructuralPartialEq for pa_error_code_t
[src]
impl ToPrimitive for pa_error_code_t
[src]
fn to_i64(&self) -> Option<i64>
[src]
fn to_u64(&self) -> Option<u64>
[src]
pub fn to_isize(&self) -> Option<isize>
[src]
pub fn to_i8(&self) -> Option<i8>
[src]
pub fn to_i16(&self) -> Option<i16>
[src]
pub fn to_i32(&self) -> Option<i32>
[src]
pub fn to_i128(&self) -> Option<i128>
[src]
pub fn to_usize(&self) -> Option<usize>
[src]
pub fn to_u8(&self) -> Option<u8>
[src]
pub fn to_u16(&self) -> Option<u16>
[src]
pub fn to_u32(&self) -> Option<u32>
[src]
pub fn to_u128(&self) -> Option<u128>
[src]
pub fn to_f32(&self) -> Option<f32>
[src]
pub fn to_f64(&self) -> Option<f64>
[src]
Auto Trait Implementations
impl RefUnwindSafe for pa_error_code_t
[src]
impl Send for pa_error_code_t
[src]
impl Sync for pa_error_code_t
[src]
impl Unpin for pa_error_code_t
[src]
impl UnwindSafe for pa_error_code_t
[src]
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>,