Struct ethers::signers::yubihsm::session::Session[][src]

pub struct Session { /* fields omitted */ }
Expand description

Authenticated and encrypted (SCP03) Session with the HSM. A Session is needed to perform any command.

Sessions are automatically closed on Drop, releasing HSM session resources and wiping the ephemeral keys used to encrypt the session.

Implementations

Is this Session still open?

Session ID value (1-16)

How long has this session been open?

Number of messages sent during this session

Has this session timed out?

Trait Implementations

Make a best effort to close the session if it’s still healthy

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more