Treatment toIpv6
net/ip::toIpv6
Inputs
⇥ text: Stream<string>
Outputs
↦ ipv6: Stream<Option<Ipv6>> (net/ip::Ipv6)
Parse each string in the stream into an Ipv6 address.
Emits none for each element that is not a valid IPv6 address.
graph LR
T("toIpv6()")
A["🟦 … 🟨"] -->|text| T
T -->|ipv6| B["〈🟦〉 … 〈none〉"]
style A fill:#ffff,stroke:#ffff
style B fill:#ffff,stroke:#ffff