connection_layer/prelude.rs
1/*
2 * Copyright (c) Peter Bjorklund. All rights reserved. https://github.com/nimble-rust/workspace
3 * Licensed under the MIT License. See LICENSE in the project root for license information.
4 */
5//! This module provides a prelude with the most commonly used types from the crate.
6//!
7//! By importing this prelude, you gain easy access to the core types and traits
8//! that are frequently used throughout the crate. This reduces the boilerplate
9//! needed in user code.
10pub use crate::{client_codec::ConnectionLayerClientCodec, host_codec::{
11 ConnectionLayerHostCodec,
12 DatagramHostDecoder,
13 DatagramHostEncoder,
14}, ConnectionId, ConnectionLayer,
15 ConnectionLayerMode,
16 RequestId,
17};