#[repr(u8)]pub enum SetConfigResultCode {
Applied = 0,
AlreadyMatched = 1,
LockedMismatch = 2,
}Expand description
SET_CONFIG result code (PROTOCOL.md §6.3).
Variants§
Applied = 0
The request was accepted. The radio is now configured as requested.
AlreadyMatched = 1
Another client holds the lock; active config byte-for-byte matches.
LockedMismatch = 2
Another client holds the lock; active config differs.
Implementations§
Trait Implementations§
Source§impl Clone for SetConfigResultCode
impl Clone for SetConfigResultCode
Source§fn clone(&self) -> SetConfigResultCode
fn clone(&self) -> SetConfigResultCode
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 SetConfigResultCode
impl Debug for SetConfigResultCode
Source§impl Format for SetConfigResultCode
impl Format for SetConfigResultCode
Source§impl PartialEq for SetConfigResultCode
impl PartialEq for SetConfigResultCode
impl Copy for SetConfigResultCode
impl Eq for SetConfigResultCode
impl StructuralPartialEq for SetConfigResultCode
Auto Trait Implementations§
impl Freeze for SetConfigResultCode
impl RefUnwindSafe for SetConfigResultCode
impl Send for SetConfigResultCode
impl Sync for SetConfigResultCode
impl Unpin for SetConfigResultCode
impl UnsafeUnpin for SetConfigResultCode
impl UnwindSafe for SetConfigResultCode
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