pub struct SliceServiceType(/* private fields */);Expand description
The Slice/Service Type of an S-NSSAI: one octet.
Values 1–4 are standardised (3GPP TS 23.501); the rest are operator specific. Both are accepted, and the distinction is reported rather than enforced, because an operator-specific slice is perfectly valid usage.
Implementations§
Source§impl SliceServiceType
impl SliceServiceType
Trait Implementations§
Source§impl Clone for SliceServiceType
impl Clone for SliceServiceType
impl Copy for SliceServiceType
Source§impl Debug for SliceServiceType
impl Debug for SliceServiceType
Source§impl Display for SliceServiceType
impl Display for SliceServiceType
impl Eq for SliceServiceType
Source§impl Hash for SliceServiceType
impl Hash for SliceServiceType
Source§impl Ord for SliceServiceType
impl Ord for SliceServiceType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SliceServiceType
impl PartialEq for SliceServiceType
Source§impl PartialOrd for SliceServiceType
impl PartialOrd for SliceServiceType
impl StructuralPartialEq for SliceServiceType
Auto Trait Implementations§
impl Freeze for SliceServiceType
impl RefUnwindSafe for SliceServiceType
impl Send for SliceServiceType
impl Sync for SliceServiceType
impl Unpin for SliceServiceType
impl UnsafeUnpin for SliceServiceType
impl UnwindSafe for SliceServiceType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more