pub struct InquiryCommand<'a> { /* private fields */ }
Implementations§
Source§impl<'a> InquiryCommand<'a>
impl<'a> InquiryCommand<'a>
pub fn page_code(&mut self, value: Option<u8>) -> &mut Self
pub fn allocation_length(&mut self, value: u16) -> &mut Self
pub fn issue(&mut self) -> Result<Vec<u8>>
pub fn issue_generic<Body: Copy, Element: Copy>( &mut self, element_length: usize, ) -> Result<(MaybeUninit<Body>, Vec<MaybeUninit<Element>>)>
Trait Implementations§
Source§impl<'a> Clone for InquiryCommand<'a>
impl<'a> Clone for InquiryCommand<'a>
Source§fn clone(&self) -> InquiryCommand<'a>
fn clone(&self) -> InquiryCommand<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for InquiryCommand<'a>
impl<'a> RefUnwindSafe for InquiryCommand<'a>
impl<'a> Send for InquiryCommand<'a>
impl<'a> Sync for InquiryCommand<'a>
impl<'a> Unpin for InquiryCommand<'a>
impl<'a> UnwindSafe for InquiryCommand<'a>
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