Enum portmidi::PortMidiError [] [src]

pub enum PortMidiError {
    HostError,
    InvalidDeviceId,
    InsufficientMemory,
    BufferTooSmall,
    BufferOverflow,
    BadPtr,
    BadData,
    InternalError,
    BufferMaxSize,
}

Variants

HostErrorInvalidDeviceIdInsufficientMemoryBufferTooSmallBufferOverflowBadPtrBadDataInternalErrorBufferMaxSize

Trait Implementations

impl Eq for PortMidiError
[src]

impl PartialEq for PortMidiError
[src]

fn eq(&self, __arg_0: &PortMidiError) -> 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 Debug for PortMidiError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for PortMidiError
[src]

fn clone(&self) -> PortMidiError

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

impl Copy for PortMidiError
[src]

impl Display for PortMidiError
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Error for PortMidiError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more