Struct RadioInterface
#[repr(transparent)]pub struct RadioInterface(pub i8);Expand description
Radio interface (nas_radio_if_enum_v01).
Tuple Fields§
§0: i8Implementations§
§impl RadioInterface
impl RadioInterface
pub const NO_SVC: Self
pub const NO_SVC: Self
Value 0.
pub const CDMA_1X: Self
pub const CDMA_1X: Self
Value 1.
pub const CDMA_1XEVDO: Self
pub const CDMA_1XEVDO: Self
Value 2.
pub const AMPS: Self
pub const AMPS: Self
Value 3.
pub const GSM: Self
pub const GSM: Self
Value 4.
pub const UMTS: Self
pub const UMTS: Self
Value 5.
pub const WLAN: Self
pub const WLAN: Self
Value 6.
pub const GPS: Self
pub const GPS: Self
Value 7.
pub const LTE: Self
pub const LTE: Self
Value 8.
pub const TDSCDMA: Self
pub const TDSCDMA: Self
Value 9.
pub const LTE_M1: Self
pub const LTE_M1: Self
Value 10.
pub const LTE_NB1: Self
pub const LTE_NB1: Self
Value 11.
pub const NR5G: Self
pub const NR5G: Self
Value 12.
pub const NO_CHANGE: Self
pub const NO_CHANGE: Self
Value -1.
Trait Implementations§
§impl Clone for RadioInterface
impl Clone for RadioInterface
§fn clone(&self) -> RadioInterface
fn clone(&self) -> RadioInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RadioInterface
§impl Debug for RadioInterface
impl Debug for RadioInterface
§impl Decode for RadioInterface
impl Decode for RadioInterface
§impl Encode for RadioInterface
impl Encode for RadioInterface
impl Eq for RadioInterface
§impl From<RadioInterface> for i8
impl From<RadioInterface> for i8
§fn from(value: RadioInterface) -> Self
fn from(value: RadioInterface) -> Self
Converts to this type from the input type.
§impl From<i8> for RadioInterface
impl From<i8> for RadioInterface
§impl Hash for RadioInterface
impl Hash for RadioInterface
§impl PartialEq for RadioInterface
impl PartialEq for RadioInterface
impl StructuralPartialEq for RadioInterface
Auto Trait Implementations§
impl Freeze for RadioInterface
impl RefUnwindSafe for RadioInterface
impl Send for RadioInterface
impl Sync for RadioInterface
impl Unpin for RadioInterface
impl UnsafeUnpin for RadioInterface
impl UnwindSafe for RadioInterface
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