pub enum P1Command {
SetRxFrequency {
ddc: usize,
freq_hz: u32,
},
SetTxFrequency(u32),
SetSampleRate(u32),
SetNddc(u8),
SetTxDrive(u8),
SetPtt(bool),
SetCwMode(bool),
SetRxAttenuation(u8),
Stop,
}Expand description
Commands that can be sent to the Protocol 1 client while it is running.
Variants§
SetRxFrequency
SetTxFrequency(u32)
SetSampleRate(u32)
SetNddc(u8)
SetTxDrive(u8)
SetPtt(bool)
SetCwMode(bool)
SetRxAttenuation(u8)
Stop
Trait Implementations§
Auto Trait Implementations§
impl Freeze for P1Command
impl RefUnwindSafe for P1Command
impl Send for P1Command
impl Sync for P1Command
impl Unpin for P1Command
impl UnsafeUnpin for P1Command
impl UnwindSafe for P1Command
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