Module address
Expand description
network address types and utilities
This module provides the common language to work with the different kind of formats that network addresses come in, and are used as the building stone for other parts of Rama that have to work with “addresses”, regardless if they are domains or IPs, or have ports explicitly specified or not.
Structs§
- Authority
- A
Host
with an associated port. - Domain
- A domain.
- Domain
Address - A
Domain
with an associated port - Domain
Parent Match - Result of
DomainTrie::match_parent
. - Domain
Trie - An efficient radix tree that can be used to match (sub)domains.
- Proxy
Address - Address of a proxy that can be connected to.
- Socket
Address - An
IpAddr
with an associated port
Enums§
Traits§
- AsDomain
Ref - A trait which is used by the
rama-net
crate for places where we wish to have access to a reference to a Domain, directly or indirectly, for non-move purposes. - Into
Domain - A trait which can be use by crates where a Domain is expected, it can however only be implemented by the rama-net rate.