kmip_protocol/
response.rs

1//! Deserialiation of KMIP responses.
2
3use serde::Deserialize;
4
5use kmip_ttlv::error::Result;
6
7pub fn from_slice<'de, T>(bytes: &'de [u8]) -> Result<T>
8where
9    T: Deserialize<'de>,
10{
11    kmip_ttlv::de::from_slice(bytes)
12}