pub struct Request {
pub cla: u8,
pub ins: Command,
pub p1: u8,
pub data_len: usize,
pub data: RequestPayload,
}Expand description
U2F request frame
Fields§
§cla: u8Must be of value 0
ins: CommandCommand byte
p1: u8Parameter byte, only used during authentication
data_len: usizeLength of the data payload
data: RequestPayloadData payload
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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