hyperlane_broadcast/broadcast/
struct.rs

1use crate::*;
2
3/// Represents a broadcast mechanism for sending messages to multiple receivers.
4///
5/// This struct encapsulates the core components required for broadcasting,
6/// including the capacity of the broadcast channel and the sender responsible
7/// for dispatching messages.
8#[derive(Debug, Clone)]
9pub struct Broadcast<T: BroadcastTrait>(pub(super) BroadcastSender<T>);