Crate osc_address [] [src]

This crate defines some utilities for dealing with Open Sound Control (OSC) messages. It is intended to be paired with osc_address_macros and provides a layer of abstraction above serde_osc, but usage of either is optional and serialization/deserialization works with any serde backend.

The primary feature of this crate is its OscMessage trait, which provides a type-safe way of encoding an OSC address and its payload while serializing/deserializating as if it were a generic (osc_address: String, msg_payload: (...)) type suitable for serde_osc.

The OscMessage trait is intended to be implemented automatically via a #[derive(OscMessage)] directive. Refer to the osc_address_macros crate for how to do this.

Structs

AbsOscTime

OSC uses ntp time, i.e. absolute # of seconds since 1970 + a fraction of a second.

OscBundle

Enums

OscPacket

An OSC packet represents either a single OSC message, or a bundle with an associated time of zero or more OSC packets.

OscTime

Traits

OscMessage