1 2 3 4 5 6 7 8
/// A trait encapsulating the operation of computing the broadcast /// address for applicable networks. pub trait Broadcast { type Output; /// Compute the broadcast address. fn broadcast(&self) -> Self::Output; }
1 2 3 4 5 6 7 8
/// A trait encapsulating the operation of computing the broadcast /// address for applicable networks. pub trait Broadcast { type Output; /// Compute the broadcast address. fn broadcast(&self) -> Self::Output; }