//! Defines the [`NetTransferLeader`] trait for leader transfer.
use add_async_trait;
use crateOptionalSend;
use crateOptionalSync;
use crateRaftTypeConfig;
use crateRPCError;
use crateRPCOption;
use crateTransferLeaderRequest;
/// Sends TransferLeader messages to a target node.
///
/// **For most applications, implement [`RaftNetworkV2`] instead.** This trait is
/// automatically derived from `RaftNetworkV2` via blanket implementation.
///
/// Direct implementation is an advanced option for fine-grained control.
///
/// [`RaftNetworkV2`]: crate::network::RaftNetworkV2