Struct smartcard::logic::context::Context
[−]
[src]
pub struct Context { /* fields omitted */ }
The resource manager context is a representation of the state of the driver.
Methods
impl Context
[src]
fn establish_context(scope: ContextScope) -> Result<Context>
Create a context and define the scope of this context
fn establish_context_auto() -> Result<Context>
Create a context For when you dont want to choose the scope (alias to establish_context system)
fn get_handle(&self) -> SCARDCONTEXT
Get the handle for this context
fn is_valid(&self) -> Result<bool>
Verify if a context is valid
fn list_readers(&self) -> Result<Vec<Reader>>
List all available readers
Trait Implementations
impl Debug for Context
[src]
impl Drop for Context
[src]
fn drop(&mut self)
Free the context at the end