[][src]Trait netaddr2::Broadcast

pub trait Broadcast {
    type Output;
    fn broadcast(&self) -> Self::Output;
}

Compute the "broadcast" address for supported networks.

Associated Types

type Output

The type of the broadcast address

Loading content...

Required methods

fn broadcast(&self) -> Self::Output

Compute the broadcast address

Loading content...

Implementors

impl Broadcast for NetAddr[src]

type Output = Option<IpAddr>

impl Broadcast for Netv4Addr[src]

Loading content...