Skip to main content

Module arti_path

Module arti_path 

Source
Expand description

ArtiPath and its associated helpers.

Re-exportsยง

use std::str::FromStr; ๐Ÿ”’
use derive_deftly::Deftly; ๐Ÿ”’
use derive_deftly::define_derive_deftly; ๐Ÿ”’
use derive_more::Deref; ๐Ÿ”’
use derive_more::Display; ๐Ÿ”’
use derive_more::Into; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use tor_persist::slug; ๐Ÿ”’
use tor_persist::slug::BadSlug; ๐Ÿ”’
use crate::ArtiPathRange; ๐Ÿ”’
use crate::ArtiPathSyntaxError; ๐Ÿ”’
use crate::KeySpecifierComponent; ๐Ÿ”’

Macrosยง

derive_deftly_template_ValidatedString ๐Ÿ”’
Implement new(), TryFrom<String> in terms of validate_str, and as_ref<str>

Structsยง

ArtiPath
A unique identifier for a particular instance of a key.

Constantsยง

DENOTATOR_GROUP_SEP
A separator for separating individual denotator groups from each other.
DENOTATOR_SEP
A separator for that marks the beginning of the keys denotators within an ArtiPath.
PATH_SEP ๐Ÿ”’
A separator for ArtiPaths.

Functionsยง

validate_denotator_group ๐Ÿ”’
Validate a single denotator group.