pub enum Message {
Show 32 variants
Sandboxed {
mechanism: String,
},
Hello {
magic: [u8; 4],
major: u16,
minor: u16,
},
Load {
path: String,
format: PluginFormat,
class_id: Option<[u8; 16]>,
},
Configure {
rate: u32,
max_frames: u32,
in_channels: u16,
out_channels: u16,
},
Editor(EditorAction),
EditorStatus(EditorStatus),
EditorImage(EditorImage),
Prepare(ProcessingSetup),
Describe,
Features(Capabilities),
Activate,
SetState {
blob: Vec<u8>,
},
GetState,
OpenEditor,
OpenEditorIn {
parent: ParentWindow,
},
CloseEditor,
ListParameters {
start: u32,
count: u16,
},
Parameters {
total: u32,
entries: Vec<Parameter>,
},
SetParameter {
id: u32,
value: f64,
},
RequestError {
code: u32,
text: String,
},
Shutdown,
Scan {
path: String,
},
Loaded {
name: String,
vendor: String,
latency_frames: u32,
inputs: Vec<BusInfo>,
outputs: Vec<BusInfo>,
},
Classes {
entries: Vec<ClassInfo>,
},
LatencyChanged {
frames: u32,
},
State {
blob: Vec<u8>,
},
ParamsChanged,
Fault {
code: u32,
text: String,
},
Ack,
EditorClosed,
EditorResized {
width: u32,
height: u32,
},
ParameterEdit {
id: u32,
phase: EditPhase,
value: f64,
},
}Variants§
Sandboxed
Sent before Hello only when an OS sandbox was requested and installed.
Hello
Load
Configure
Editor(EditorAction)
EditorStatus(EditorStatus)
EditorImage(EditorImage)
Prepare(ProcessingSetup)
Describe
Features(Capabilities)
Activate
SetState
GetState
OpenEditor
OpenEditorIn
Fields
§
parent: ParentWindowCloseEditor
ListParameters
Parameters
SetParameter
RequestError
Shutdown
Scan
Loaded
Classes
LatencyChanged
State
ParamsChanged
Fault
Ack
The reply to a request that returns no data (Configure, Activate,
SetState, OpenEditor). It carries the request’s number.
EditorClosed
The editor window was closed by the user.
EditorResized
ParameterEdit
Implementations§
Trait Implementations§
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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