Struct yubihsm::session::SessionTimeout[][src]

pub struct SessionTimeout(_);

Timeouts when performing USB operations

Methods

impl SessionTimeout
[src]

Create a new timeout from the given duration

Create a new timeout from the given number of secs

Get the duration value

Trait Implementations

impl Copy for SessionTimeout
[src]

impl Clone for SessionTimeout
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SessionTimeout
[src]

Formats the value using the given formatter. Read more

impl Default for SessionTimeout
[src]

Default timeout

Returns the "default value" for a type. Read more

impl From<Duration> for SessionTimeout
[src]

Performs the conversion.

Auto Trait Implementations