kernel::hil::ble_advertising

Enum RadioChannel

Source
pub enum RadioChannel {
Show 40 variants DataChannel0 = 4, DataChannel1 = 6, DataChannel2 = 8, DataChannel3 = 10, DataChannel4 = 12, DataChannel5 = 14, DataChannel6 = 16, DataChannel7 = 18, DataChannel8 = 20, DataChannel9 = 22, DataChannel10 = 24, DataChannel11 = 28, DataChannel12 = 30, DataChannel13 = 32, DataChannel14 = 34, DataChannel15 = 36, DataChannel16 = 38, DataChannel17 = 40, DataChannel18 = 42, DataChannel19 = 44, DataChannel20 = 46, DataChannel21 = 48, DataChannel22 = 50, DataChannel23 = 52, DataChannel24 = 54, DataChannel25 = 56, DataChannel26 = 58, DataChannel27 = 60, DataChannel28 = 62, DataChannel29 = 64, DataChannel30 = 66, DataChannel31 = 68, DataChannel32 = 70, DataChannel33 = 72, DataChannel34 = 74, DataChannel35 = 76, DataChannel36 = 78, AdvertisingChannel37 = 2, AdvertisingChannel38 = 26, AdvertisingChannel39 = 80,
}

Variants§

§

DataChannel0 = 4

§

DataChannel1 = 6

§

DataChannel2 = 8

§

DataChannel3 = 10

§

DataChannel4 = 12

§

DataChannel5 = 14

§

DataChannel6 = 16

§

DataChannel7 = 18

§

DataChannel8 = 20

§

DataChannel9 = 22

§

DataChannel10 = 24

§

DataChannel11 = 28

§

DataChannel12 = 30

§

DataChannel13 = 32

§

DataChannel14 = 34

§

DataChannel15 = 36

§

DataChannel16 = 38

§

DataChannel17 = 40

§

DataChannel18 = 42

§

DataChannel19 = 44

§

DataChannel20 = 46

§

DataChannel21 = 48

§

DataChannel22 = 50

§

DataChannel23 = 52

§

DataChannel24 = 54

§

DataChannel25 = 56

§

DataChannel26 = 58

§

DataChannel27 = 60

§

DataChannel28 = 62

§

DataChannel29 = 64

§

DataChannel30 = 66

§

DataChannel31 = 68

§

DataChannel32 = 70

§

DataChannel33 = 72

§

DataChannel34 = 74

§

DataChannel35 = 76

§

DataChannel36 = 78

§

AdvertisingChannel37 = 2

§

AdvertisingChannel38 = 26

§

AdvertisingChannel39 = 80

Implementations§

Trait Implementations§

Source§

impl Clone for RadioChannel

Source§

fn clone(&self) -> RadioChannel

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RadioChannel

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for RadioChannel

Source§

fn eq(&self, other: &RadioChannel) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for RadioChannel

Source§

impl StructuralPartialEq for RadioChannel

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.