fn nsm_decode_response_from_cbor()

in src/driver/mod.rs [51:56]


fn nsm_decode_response_from_cbor(response_data: &IoSliceMut<'_>) -> Response {
    match serde_cbor::from_slice(response_data) {
        Ok(response) => response,
        Err(_) => Response::Error(ErrorCode::InternalError),
    }
}