Enum portmidi::PmError
[−]
[src]
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 Eq for PmError
[src]
impl PartialEq for PmError
[src]
fn eq(&self, __arg_0: &PmError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for PmError
[src]
impl Clone for PmError
[src]
fn clone(&self) -> PmError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more