Module iceoryx2_bb_system_types::user_name

source ·
Expand description

Relocatable (inter-process shared memory compatible) semantic_string::SemanticString implementations for UserName.

§Example

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

let user = UserName::new(b"some-user").expect("invalid user name");

let invalid_user = UserName::new(b"some*!?user");
assert!(invalid_user.is_err());

Structs§

  • Abstracts a user name. Ensures via construction & modification that the contents is always a valid user name.

Traits§