pub struct Cgi { /* private fields */ }Expand description
A Cell Global Identity: network, location area and cell.
Implementations§
Source§impl Cgi
impl Cgi
Sourcepub fn from_bytes(bytes: &[u8]) -> Result<Self, DecodeError>
pub fn from_bytes(bytes: &[u8]) -> Result<Self, DecodeError>
Decode the seven-octet CGI of 3GPP TS 29.274 §8.21.1.
§Errors
DecodeError for the wrong length, a malformed PLMN identity, or a
reserved location area code.
Trait Implementations§
impl Copy for Cgi
impl Eq for Cgi
Source§impl Ord for Cgi
impl Ord for Cgi
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 PartialOrd for Cgi
impl PartialOrd for Cgi
impl StructuralPartialEq for Cgi
Auto Trait Implementations§
impl Forget for Cgi
impl Freeze for Cgi
impl Move for Cgi
impl RefUnwindSafe for Cgi
impl Send for Cgi
impl Sync for Cgi
impl Unpin for Cgi
impl UnsafeUnpin for Cgi
impl UnwindSafe for Cgi
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