[][src]Struct portaudio_rs::hostapi::HostErrorInfo

pub struct HostErrorInfo {
    pub code: i32,
    pub text: String,
    pub api_type: HostApiType,
}

Error info obtained by get_last_error

Fields

code: i32

The error code given

text: String

A human readable error message

api_type: HostApiType

The type of the API that produced the error

Auto Trait Implementations

impl RefUnwindSafe for HostErrorInfo

impl Send for HostErrorInfo

impl Sync for HostErrorInfo

impl Unpin for HostErrorInfo

impl UnwindSafe for HostErrorInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.