Skip to main content

Module address

Module address 

Source
Expand description

Address types and URL classification helpers.

All functions here are WASM-clean: they rely on url::Url::parse, mime_guess, and infer — no platform I/O.

Structs§

AddressClaim
An address claim attached to a graph node.
AddressClaimResolver
The resolver for an archived AddressClaim
ArchivedAddressClaim
An archived AddressClaim

Enums§

Address
Typed address carrying both the scheme classification and the raw URL string.
AddressKind
Address type hint for renderer selection.
AddressKindResolver
The resolver for an archived AddressKind
AddressResolver
The resolver for an archived Address
AddressRole
Role of an address claim on a node.
AddressRoleResolver
The resolver for an archived AddressRole
ArchivedAddress
An archived Address
ArchivedAddressKind
An archived AddressKind
ArchivedAddressRole
An archived AddressRole

Functions§

address_from_url
Construct a typed Address from a raw URL string.
address_kind_from_url
Infer AddressKind from a URL scheme.
cached_host_from_url
detect_mime
Detect MIME type from URL + optional content bytes.