Module safe_network::url[][src]

Expand description

Implementation of the urls for the SAFE Network.

Structs

Represents a Url

Version Hash corresponding to the entry hash where the content is stored

Enums

We encode the content type that a XOR-URL is targetting, this allows the consumer/user to treat the content in particular ways when the content requires it.

We also encode the native SAFE data type where the content is being stored on the SAFE Network, this allows us to fetch the targetted data using the corresponding API, regardless of the data that is being held which is identified by the ContentType instead.

Error type returned by the API

We also encode the data scope - i.e. accessibility on the SAFE Network.

An enumeration of possible Url types.

Supported base encoding for XOR URLs

Constants

Default base encoding used for XOR URLs

Type tag to use for the NrsMapContainer stored on Register

Type Definitions

Custom Result type for url crate.

The XOR-URL type