pub struct Location(/* private fields */);Expand description
Location (§11.1.5.7) — the node’s ISO 3166-1 alpha-2 region code.
A cell of its own rather than a field of BasicInformation, because two clusters write
it: a client writing the attribute directly at Administer, and §11.10.7.4’s
SetRegulatoryConfig, whose CountryCode “SHALL be used to set the Location attribute
reflected by the Basic Information Cluster”. Sharing one cell is what keeps the two in
agreement.
“The special value XX SHALL indicate that region-agnostic mode is used”, which is the fallback, and “The Location’s region code SHALL be interpreted in a case-insensitive manner”.
Implementations§
Source§impl Location
impl Location
Sourcepub const fn region_agnostic() -> Self
pub const fn region_agnostic() -> Self
The region-agnostic fallback, "XX".
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Location
impl !RefUnwindSafe for Location
impl !Sync for Location
impl Forget for Location
impl Move for Location
impl Send for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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