yubihsm 0.17.3

Pure Rust client for YubiHSM2 devices
Documentation
//! Close the current session and release its resources for reuse
//!
//! <https://developers.yubico.com/YubiHSM2/Commands/Close_Session.html>

use super::{Command, CommandType, 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_TYPE: CommandType = CommandType::CloseSession;
}