Struct libyubihsm::Connector
[−]
[src]
pub struct Connector { /* fields omitted */ }
Methods
impl Connector
[src]
pub fn create_session_from_password(
&self,
auth_key_id: u16,
password: &str,
recreate_session: bool
) -> Result<Session, Error>
[src]
&self,
auth_key_id: u16,
password: &str,
recreate_session: bool
) -> Result<Session, Error>
Create a new session with the specified AuthKey and password, and authenticate it.
pub fn get_device_info(&self) -> Result<DeviceInfo, Error>
[src]
Trait Implementations
impl Clone for Connector
[src]
fn clone(&self) -> Connector
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more