Module iceoryx2_bb_system_types::path

source ·
Expand description

Relocatable (inter-process shared memory compatible) SemanticString implementation for Path. All modification operations ensure that never an invalid file or path name can be generated. All strings have a fixed size so that the maximum path or file name length the system supports can be stored.

§Example

use iceoryx2_bb_container::semantic_string::SemanticString;
use iceoryx2_bb_system_types::path::*;

let name = Path::new(b"some/path/../bla/some_file.txt");

let invalid_name = Path::new(b"/contains/illegal/\0/zero");
assert!(invalid_name.is_err());

Structs§

Traits§