Enum midi_msg::SystemExclusiveMsg[][src]

pub enum SystemExclusiveMsg {
    Commercial {
        id: ManufacturerID,
        data: Vec<u8>,
    },
    NonCommercial {
        data: Vec<u8>,
    },
    UniversalRealTime {
        device: DeviceID,
        msg: UniversalRealTimeMsg,
    },
    UniversalNonRealTime {
        device: DeviceID,
        msg: UniversalNonRealTimeMsg,
    },
}

The bulk of the MIDI spec lives here, in “Universal System Exclusive” messages. Also used for manufacturer-specific messages. Used in MidiMsg.

Variants

Commercial

An arbitrary set of 7-bit “bytes”, the meaning of which must be derived from the message, the definition of which is determined by the given manufacturer.

Fields of Commercial

id: ManufacturerIDdata: Vec<u8>
NonCommercial

Similar to Commercial but for use in non-commercial situations.

Fields of NonCommercial

data: Vec<u8>
UniversalRealTime

A diverse range of messages, for real-time applications. A message is targeted to the given device.

Fields of UniversalRealTime

device: DeviceIDmsg: UniversalRealTimeMsg
UniversalNonRealTime

A diverse range of messages, for non-real-time applications. A message is targeted to the given device.

Fields of UniversalNonRealTime

device: DeviceIDmsg: UniversalNonRealTimeMsg

Trait Implementations

impl Clone for SystemExclusiveMsg[src]

impl Debug for SystemExclusiveMsg[src]

impl PartialEq<SystemExclusiveMsg> for SystemExclusiveMsg[src]

impl StructuralPartialEq for SystemExclusiveMsg[src]

Auto Trait Implementations

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, 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.