#[non_exhaustive]pub enum HostCommand {
SetLevel {
path: HostPathId,
value: Signal,
},
Emit {
cmd: CmdId,
payload: Signal,
},
}Expand description
Dense command emitted for host apply (from SignalOut / EmitCommand).
SetLevel is host pedagogy language for any SignalOut sample (full Signal).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SetLevel
Apply one SignalOut sample to a host-owned path.
Fields
§
path: HostPathIdDense host path id for the signal sink.
Emit
Fire one capped EmitCommand with its optional payload.
Trait Implementations§
Source§impl Clone for HostCommand
impl Clone for HostCommand
Source§fn clone(&self) -> HostCommand
fn clone(&self) -> HostCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostCommand
Source§impl Debug for HostCommand
impl Debug for HostCommand
Source§impl PartialEq for HostCommand
impl PartialEq for HostCommand
impl StructuralPartialEq for HostCommand
Auto Trait Implementations§
impl Freeze for HostCommand
impl RefUnwindSafe for HostCommand
impl Send for HostCommand
impl Sync for HostCommand
impl Unpin for HostCommand
impl UnsafeUnpin for HostCommand
impl UnwindSafe for HostCommand
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