structfs-core-store 0.3.0

Core StructFS store traits - Record, Value, Path, Format
Documentation
1
2
3
4
5
6
7
8
use structfs_core_store::path;
struct PretendComponent;
impl PretendComponent {
    fn validated_str(&self) -> &str { "bad-name" }
}
fn main() {
    let _ = path!("safe", PretendComponent);
}