pub enum Toggle {
Data0,
Data1,
}Expand description
The data toggle a packet starts with.
The protocol layer tracks toggles itself instead of relying on the
controller to remember them, so that a channel can be reprogrammed (after
SET_ADDRESS, for instance) without losing the sequence.
Variants§
Trait Implementations§
impl Copy for Toggle
impl Eq for Toggle
impl StructuralPartialEq for Toggle
Auto Trait Implementations§
impl Forget for Toggle
impl Freeze for Toggle
impl Move for Toggle
impl RefUnwindSafe for Toggle
impl Send for Toggle
impl Sync for Toggle
impl Unpin for Toggle
impl UnsafeUnpin for Toggle
impl UnwindSafe for Toggle
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