pub struct TxPowerScenario { /* private fields */ }Expand description
The wire type corresponding to TxPowerScenario.
Implementations§
Source§impl TxPowerScenario
impl TxPowerScenario
pub const DEFAULT: TxPowerScenario
pub const VOICE_CALL: TxPowerScenario
pub const HEAD_CELL_OFF: TxPowerScenario
pub const HEAD_CELL_ON: TxPowerScenario
pub const BODY_CELL_OFF: TxPowerScenario
pub const BODY_CELL_ON: TxPowerScenario
pub const BODY_BT_ACTIVE: TxPowerScenario
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 Constrained for TxPowerScenario
impl Constrained for TxPowerScenario
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, TxPowerScenario>,
_: <TxPowerScenario as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, TxPowerScenario>, _: <TxPowerScenario as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for TxPowerScenario
impl Debug for TxPowerScenario
Source§impl<___D> Decode<___D> for TxPowerScenariowhere
___D: ?Sized,
impl<___D> Decode<___D> for TxPowerScenariowhere
___D: ?Sized,
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 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 IntoNatural for TxPowerScenario
impl IntoNatural for TxPowerScenario
Source§type Natural = TxPowerScenario
type Natural = TxPowerScenario
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
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 Wire for TxPowerScenario
impl Wire for TxPowerScenario
Source§type Narrowed<'de> = TxPowerScenario
type Narrowed<'de> = TxPowerScenario
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<TxPowerScenario>)
fn zero_padding(_: &mut MaybeUninit<TxPowerScenario>)
Writes zeroes to the padding for this type, if any.
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> 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]