Treatment asIpv6
net/ip::asIpv6
Inputs
⇥ ip: Stream<Ip> (net/ip::Ip)
Outputs
↦ ipv6: Stream<Option<Ipv6>> (net/ip::Ipv6)
Extract the Ipv6 address from each generic Ip in the stream.
Emits none for each element that is an IPv4 address.
graph LR
T("asIpv6()")
A["〈🟦〉 … 〈🟨〉"] -->|ip| T
T -->|ipv6| B["〈🟦〉 … 〈none〉"]
style A fill:#ffff,stroke:#ffff
style B fill:#ffff,stroke:#ffff