pub enum LENGTH_A {
DEFAULT,
EXTENDED,
}
Expand description
Packet length configuration
Value on reset: 0
Variants
DEFAULT
0: Default length. Effective length of LENGTH field in encrypted/decrypted packet is 5 bits. A key-stream for packet payloads up to 27 bytes will be generated.
EXTENDED
1: Extended length. Effective length of LENGTH field in encrypted/decrypted packet is 8 bits. A key-stream for packet payloads up to MAXPACKETSIZE bytes will be generated.
Trait Implementations
impl Copy for LENGTH_A
impl StructuralPartialEq for LENGTH_A
Auto Trait Implementations
impl RefUnwindSafe for LENGTH_A
impl Send for LENGTH_A
impl Sync for LENGTH_A
impl Unpin for LENGTH_A
impl UnwindSafe for LENGTH_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more