pub struct ReportStatusResultParams<'a> { /* private fields */ }Expand description
Reports the successful result of a |SCardStatus| call.
This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
Implementations§
Source§impl<'a> ReportStatusResultParams<'a>
impl<'a> ReportStatusResultParams<'a>
Sourcepub fn builder(
request_id: impl Into<Cow<'a, str>>,
reader_name: impl Into<Cow<'a, str>>,
state: impl Into<ConnectionState>,
atr: impl Into<Cow<'a, str>>,
) -> ReportStatusResultParamsBuilder<'a>
pub fn builder( request_id: impl Into<Cow<'a, str>>, reader_name: impl Into<Cow<'a, str>>, state: impl Into<ConnectionState>, atr: impl Into<Cow<'a, str>>, ) -> ReportStatusResultParamsBuilder<'a>
Creates a builder for this type with the required parameters:
request_id:reader_name:state:atr:
pub fn request_id(&self) -> &str
pub fn reader_name(&self) -> &str
pub fn state(&self) -> &ConnectionState
pub fn atr(&self) -> &str
pub fn protocol(&self) -> Option<&Protocol>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for ReportStatusResultParams<'a>
impl<'a> CdpCommand<'a> for ReportStatusResultParams<'a>
Source§impl<'a> Clone for ReportStatusResultParams<'a>
impl<'a> Clone for ReportStatusResultParams<'a>
Source§fn clone(&self) -> ReportStatusResultParams<'a>
fn clone(&self) -> ReportStatusResultParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ReportStatusResultParams<'a>
impl<'a> Debug for ReportStatusResultParams<'a>
Source§impl<'a> Default for ReportStatusResultParams<'a>
impl<'a> Default for ReportStatusResultParams<'a>
Source§fn default() -> ReportStatusResultParams<'a>
fn default() -> ReportStatusResultParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for ReportStatusResultParams<'a>
impl<'de, 'a> Deserialize<'de> for ReportStatusResultParams<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for ReportStatusResultParams<'a>
impl<'a> RefUnwindSafe for ReportStatusResultParams<'a>
impl<'a> Send for ReportStatusResultParams<'a>
impl<'a> Sync for ReportStatusResultParams<'a>
impl<'a> Unpin for ReportStatusResultParams<'a>
impl<'a> UnsafeUnpin for ReportStatusResultParams<'a>
impl<'a> UnwindSafe for ReportStatusResultParams<'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