rill-osc 0.4.0

OSC server and networking for Rill audio graph
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::io;

use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("OSC parse error: {0}")]
    Parse(String),

    #[error("I/O error: {0}")]
    Io(#[from] io::Error),

    #[error("invalid OSC packet")]
    InvalidPacket,

    #[error("type mismatch: expected {expected}, got {actual}")]
    TypeMismatch { expected: String, actual: String },
}