yubihsm 0.20.0

Pure Rust client for YubiHSM2 devices with support for HTTP and USB-based access to the device. Supports most HSM functionality including ECDSA, Ed25519, HMAC, and RSA.
Documentation
//! Close the current session and release its resources for reuse
//!
//! <https://developers.yubico.com/YubiHSM2/Commands/Close_Session.html>

use crate::command::{Command, CommandCode};
use crate::response::Response;

#[derive(Serialize, Deserialize, Debug)]
pub(crate) struct CloseSessionCommand {}

impl Command for CloseSessionCommand {
    type ResponseType = CloseSessionResponse;
}

#[derive(Serialize, Deserialize, Debug)]
pub(crate) struct CloseSessionResponse {}

impl Response for CloseSessionResponse {
    const COMMAND_CODE: CommandCode = CommandCode::CloseSession;
}