// Copyright 2025 NXP
//
// SPDX-License-Identifier: BSD-3-Clause
use cratePacket;
use cratePacketParse;
use crateResultComm;
use crateDuration;
use cratePacketConstruct;
use enum_dispatch;
use ;
/// Unified protocol implementation enum
///
/// This enum can hold any of the supported protocol implementations and
/// uses `enum_dispatch` to generate efficient dispatch code. This allows
/// the same high-level code to work with different transport protocols
/// without the overhead of dynamic dispatch via trait objects.
///
/// # Note
/// As enum dispatch might incur performance penalties, it is enabled
/// only for Python bindings, and C API code