#[non_exhaustive]pub enum Registration {
Idle,
Home,
Searching,
Denied,
Roaming,
Unknown,
}Expand description
Where a bearer stands with its network (ModemManager’s 3GPP registration states; #123). A device that registers with nothing — a point-to-point radio — reports none.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Idle
Not registered, not searching.
Home
Registered on the home network.
Searching
Searching for a network.
Denied
Registration denied.
Roaming
Registered, roaming.
Unknown
The device cannot say.
Implementations§
Trait Implementations§
Source§impl Clone for Registration
impl Clone for Registration
impl Copy for Registration
Source§impl Debug for Registration
impl Debug for Registration
Source§impl Display for Registration
impl Display for Registration
impl Eq for Registration
Source§impl Hash for Registration
impl Hash for Registration
Source§impl PartialEq for Registration
impl PartialEq for Registration
impl StructuralPartialEq for Registration
Auto Trait Implementations§
impl Freeze for Registration
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnsafeUnpin for Registration
impl UnwindSafe for Registration
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