pub type Selector = Vec<u8>;Expand description
An OSI network layer selector
These are unbounded in length in the abstract, but even in the OSI protocols:
- The T-selector has a de facto limit of 254 octets (per ITU-T Rec. X.224)
- The S-selector has a de jure limit of 16 octets (per ITU-T Rec. X.225)
- The P-selector has no explicit limit in size
NSAPs are restricted by ITU-T Rec. X.213 to 20 octets, but ITU-T Rec. X.519 adds an exception for encoding URLs within NSAPs for usage within X.500 directories.
As such, the selectors in this crate are simply represented using Vec<u8>.
Aliased Typeยง
pub struct Selector { /* private fields */ }