pub enum CtcssMode {
Off = 0,
On = 1,
EncodeOnly = 2,
}Expand description
CTCSS encode/decode mode (byte 0x09 bits [1:0]).
Controls whether CTCSS tones are encoded on transmit, decoded on
receive, or both. Uses ValidationError::ToneModeOutOfRange for
out-of-range values since it shares the same valid range (0-2).
Variants§
Off = 0
CTCSS disabled (index 0).
On = 1
Encode and decode CTCSS (index 1).
EncodeOnly = 2
Encode CTCSS on transmit only (index 2).
Implementations§
Trait Implementations§
impl Copy for CtcssMode
impl Eq for CtcssMode
impl StructuralPartialEq for CtcssMode
Auto Trait Implementations§
impl Freeze for CtcssMode
impl RefUnwindSafe for CtcssMode
impl Send for CtcssMode
impl Sync for CtcssMode
impl Unpin for CtcssMode
impl UnwindSafe for CtcssMode
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