[][src]Enum portmidi::PmError

#[repr(C)]pub enum PmError {
    PmNoError,
    PmGotData,
    PmHostError,
    PmInvalidDeviceId,
    PmInsufficientMemory,
    PmBufferTooSmall,
    PmBufferOverflow,
    PmBadPtr,
    PmBadData,
    PmInternalError,
    PmBufferMaxSize,
}

Variants

PmNoError

"no error" return that also indicates data available

PmGotData

"no error" return that also indicates data available

PmHostError
PmInvalidDeviceId

out of range or output device when input is requested or input device when output is requested or device is already opened

PmInsufficientMemory
PmBufferTooSmall
PmBufferOverflow
PmBadPtr

PortMidiStream parameter is NULL or stream is not opened or stream is output when input is required or stream is input when output is required

PmBadData

illegal midi data, e.g. missing EOX

PmInternalError
PmBufferMaxSize

buffer is already as large as it can be

Trait Implementations

impl Clone for PmError[src]

impl Copy for PmError[src]

impl Debug for PmError[src]

impl Display for PmError[src]

impl Eq for PmError[src]

impl From<PmError> for Result<()>[src]

impl From<PmError> for Error[src]

impl PartialEq<PmError> for PmError[src]

impl StructuralEq for PmError[src]

impl StructuralPartialEq for PmError[src]

Auto Trait Implementations

impl RefUnwindSafe for PmError

impl Send for PmError

impl Sync for PmError

impl Unpin for PmError

impl UnwindSafe for PmError

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.