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.
Session
s are automatically closed on Drop
, releasing HSM session
resources and wiping the ephemeral keys used to encrypt the session.
Implementations
Number of messages sent during this session
Has this session timed out?
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Session
impl !UnwindSafe for Session
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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