#[repr(u32)]pub enum TxPowerScenario {
Default = 0,
VoiceCall = 1,
HeadCellOff = 2,
HeadCellOn = 3,
BodyCellOff = 4,
BodyCellOn = 5,
BodyBtActive = 6,
UnknownOrdinal_(u32),
}Expand description
Specific absorption rate scenarios that can be applied to WLAN PHY devices.
Variants§
Default = 0
VoiceCall = 1
HeadCellOff = 2
HeadCellOn = 3
BodyCellOff = 4
BodyCellOn = 5
BodyBtActive = 6
UnknownOrdinal_(u32)
Trait Implementations§
Source§impl Clone for TxPowerScenario
impl Clone for TxPowerScenario
Source§fn clone(&self) -> TxPowerScenario
fn clone(&self) -> TxPowerScenario
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 moreSource§impl Debug for TxPowerScenario
impl Debug for TxPowerScenario
Source§impl<'a, ___E> Encode<TxPowerScenario, ___E> for &'a TxPowerScenariowhere
___E: ?Sized,
impl<'a, ___E> Encode<TxPowerScenario, ___E> for &'a TxPowerScenariowhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TxPowerScenario>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TxPowerScenario>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<TxPowerScenario, ___E> for TxPowerScenariowhere
___E: ?Sized,
impl<___E> Encode<TxPowerScenario, ___E> for TxPowerScenariowhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TxPowerScenario>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TxPowerScenario>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<TxPowerScenario> for TxPowerScenario
impl From<TxPowerScenario> for TxPowerScenario
Source§fn from(wire: TxPowerScenario) -> TxPowerScenario
fn from(wire: TxPowerScenario) -> TxPowerScenario
Converts to this type from the input type.
Source§impl From<TxPowerScenario> for TxPowerScenario
impl From<TxPowerScenario> for TxPowerScenario
Source§fn from(natural: TxPowerScenario) -> TxPowerScenario
fn from(natural: TxPowerScenario) -> TxPowerScenario
Converts to this type from the input type.
Source§impl From<u32> for TxPowerScenario
impl From<u32> for TxPowerScenario
Source§fn from(value: u32) -> TxPowerScenario
fn from(value: u32) -> TxPowerScenario
Converts to this type from the input type.
Source§impl FromWire<TxPowerScenario> for TxPowerScenario
impl FromWire<TxPowerScenario> for TxPowerScenario
Source§fn from_wire(wire: TxPowerScenario) -> TxPowerScenario
fn from_wire(wire: TxPowerScenario) -> TxPowerScenario
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<TxPowerScenario> for TxPowerScenario
impl FromWireRef<TxPowerScenario> for TxPowerScenario
Source§fn from_wire_ref(wire: &TxPowerScenario) -> TxPowerScenario
fn from_wire_ref(wire: &TxPowerScenario) -> TxPowerScenario
Converts the given reference to this type.
Source§impl Hash for TxPowerScenario
impl Hash for TxPowerScenario
Source§impl Ord for TxPowerScenario
impl Ord for TxPowerScenario
Source§fn cmp(&self, other: &TxPowerScenario) -> Ordering
fn cmp(&self, other: &TxPowerScenario) -> Ordering
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
Source§impl PartialEq for TxPowerScenario
impl PartialEq for TxPowerScenario
Source§fn eq(&self, other: &TxPowerScenario) -> bool
fn eq(&self, other: &TxPowerScenario) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TxPowerScenario
impl PartialOrd for TxPowerScenario
impl Copy for TxPowerScenario
impl Eq for TxPowerScenario
impl StructuralPartialEq for TxPowerScenario
Auto Trait Implementations§
impl Freeze for TxPowerScenario
impl RefUnwindSafe for TxPowerScenario
impl Send for TxPowerScenario
impl Sync for TxPowerScenario
impl Unpin for TxPowerScenario
impl UnsafeUnpin for TxPowerScenario
impl UnwindSafe for TxPowerScenario
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]