pub enum CellularMode {
NotSupported,
Searching,
Failed,
Active,
}Expand description
Controls the cellular mode that is shown in the status bar.
Variants§
NotSupported
Indicates that this device does not support cellular connectivity.
Searching
Indicates that the device is currently searching for a cellular network.
Failed
Indicates that the device has failed to find a cellular network.
Active
Indicates that the device is currently connected to a cellular network.
Trait Implementations§
Source§impl Clone for CellularMode
impl Clone for CellularMode
Source§fn clone(&self) -> CellularMode
fn clone(&self) -> CellularMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CellularMode
impl Debug for CellularMode
Source§impl PartialEq for CellularMode
impl PartialEq for CellularMode
impl Copy for CellularMode
impl Eq for CellularMode
impl StructuralPartialEq for CellularMode
Auto Trait Implementations§
impl Freeze for CellularMode
impl RefUnwindSafe for CellularMode
impl Send for CellularMode
impl Sync for CellularMode
impl Unpin for CellularMode
impl UnwindSafe for CellularMode
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