iota_rest_kv/
types.rs

1// Copyright (c) 2025 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4//! This module includes types and useful conversions.
5
6use std::sync::Arc;
7
8use crate::kv_store_client::KvStoreClient;
9
10/// Represents a shared instance of the [`KvStoreClient`], primerely used by the
11/// REST API server global [`State`](axum::extract::State).
12pub type SharedKvStoreClient = Arc<KvStoreClient>;