#[repr(C)]pub enum NetMessageType {
ParameterChange = 0,
Trigger = 1,
StateRequest = 2,
StateResponse = 3,
Ping = 4,
Pong = 5,
}Expand description
Network message types for audio control.
Variants§
ParameterChange = 0
Parameter value change (float value).
Trigger = 1
Trigger event (momentary, no value).
StateRequest = 2
Request current state (server responds with current values).
StateResponse = 3
State response from server.
Ping = 4
Ping for latency measurement.
Pong = 5
Pong response with server timestamp.
Trait Implementations§
Source§impl Clone for NetMessageType
impl Clone for NetMessageType
Source§fn clone(&self) -> NetMessageType
fn clone(&self) -> NetMessageType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetMessageType
impl Debug for NetMessageType
Source§impl Hash for NetMessageType
impl Hash for NetMessageType
Source§impl PartialEq for NetMessageType
impl PartialEq for NetMessageType
impl Copy for NetMessageType
impl Eq for NetMessageType
impl StructuralPartialEq for NetMessageType
Auto Trait Implementations§
impl Freeze for NetMessageType
impl RefUnwindSafe for NetMessageType
impl Send for NetMessageType
impl Sync for NetMessageType
impl Unpin for NetMessageType
impl UnwindSafe for NetMessageType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more