sim-lib-midi-live 0.1.2

In-memory live MIDI session descriptors and ring-buffer transport models.
Documentation
1
2
3
4
5
6
7
8
9
use thiserror::Error;

/// Errors raised when constructing live MIDI buffers.
#[derive(Clone, Debug, Error, PartialEq, Eq)]
pub enum LiveMidiError {
    /// A ring buffer was requested with zero capacity.
    #[error("ring buffer capacity must be at least 1")]
    ZeroCapacity,
}