IP.Subnet.to_string

You're seeing just the function to_string, go back to IP.Subnet module for more information.

Specs

to_string(t()) :: String.t()

converts an ip subnet to standard CIDR-form, with a slash delimiter.

iex> IP.Subnet.to_string(%IP.Subnet{routing_prefix: {10, 0, 0, 0}, bit_length: 24})
"10.0.0.0/24"