pub struct Query {
pub command: Command,
pub answer_len: usize,
}Expand description
A command that the chip answers in the same transaction.
Fields§
§command: CommandThe bytes to send, including the NOP bytes that precede the answer.
answer_len: usizeHow many bytes of answer to read after them.
Trait Implementations§
impl Copy for Query
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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