pub enum Message {
    Universal(UniversalKindu8u8Vec<u8>),
    ManufacturerSpecific(ManufacturerVec<u8>),
}
Expand description

A MIDI System Exclusive message.

Variants

Universal(UniversalKindu8u8Vec<u8>)

ManufacturerSpecific(ManufacturerVec<u8>)

Implementations

Creates a SysEx message based on the initial data bytes.

Creates a manufacturer-specific SysEx message.

Creates a new universal SysEx message with the given sub-IDs.

Converts the message into bytes for MIDI messaging.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.