pub struct StreamingAuthResult {
pub success: bool,
pub attribute: u16,
pub auth_level: u8,
pub decrypted_payload: [u8; 32],
}Expand description
Result of StreamingAuth command
Fields§
§success: boolWhether authentication was successful (AdcQueue access granted)
attribute: u16Raw attribute value from response
auth_level: u8Auth level: 0 = failed, 1 = device auth, 2 = calibration auth
decrypted_payload: [u8; 32]Decrypted response payload (32 bytes)
Implementations§
Source§impl StreamingAuthResult
impl StreamingAuthResult
Sourcepub fn adcqueue_enabled(&self) -> bool
pub fn adcqueue_enabled(&self) -> bool
Check if AdcQueue streaming is enabled
Trait Implementations§
Source§impl Clone for StreamingAuthResult
impl Clone for StreamingAuthResult
Source§impl Debug for StreamingAuthResult
impl Debug for StreamingAuthResult
impl Eq for StreamingAuthResult
Source§impl PartialEq for StreamingAuthResult
impl PartialEq for StreamingAuthResult
impl StructuralPartialEq for StreamingAuthResult
Auto Trait Implementations§
impl Freeze for StreamingAuthResult
impl RefUnwindSafe for StreamingAuthResult
impl Send for StreamingAuthResult
impl Sync for StreamingAuthResult
impl Unpin for StreamingAuthResult
impl UnsafeUnpin for StreamingAuthResult
impl UnwindSafe for StreamingAuthResult
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