mas_data_model/
utils.rs

1// Copyright 2025 New Vector Ltd.
2//
3// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4// Please see LICENSE files in the repository root for full details.
5
6use rand_chacha::rand_core::CryptoRngCore;
7
8use crate::clock::Clock;
9
10/// A boxed [`Clock`]
11pub type BoxClock = Box<dyn Clock + Send>;
12/// A boxed random number generator
13pub type BoxRng = Box<dyn CryptoRngCore + Send>;