Struct ModemFirmwareUpdateMethod
pub struct ModemFirmwareUpdateMethod(u32);Expand description
Firmware update procedures that a modem supports.
Tuple Fields§
§0: u32Implementations§
§impl ModemFirmwareUpdateMethod
impl ModemFirmwareUpdateMethod
pub const fn empty() -> Self
pub const fn empty() -> Self
Returns a value with no flags set.
pub const fn contains(self, __other: Self) -> bool
pub const fn contains(self, __other: Self) -> bool
Returns true if every flag of the argument is set.
pub const fn intersects(self, __other: Self) -> bool
pub const fn intersects(self, __other: Self) -> bool
Returns true if any flag of the argument is set.
pub const fn union(self, __other: Self) -> Self
pub const fn union(self, __other: Self) -> Self
Returns the flags set in either value.
pub const fn intersection(self, __other: Self) -> Self
pub const fn intersection(self, __other: Self) -> Self
Returns the flags set in both values.
pub const fn difference(self, __other: Self) -> Self
pub const fn difference(self, __other: Self) -> Self
Returns the flags of self without those of the argument.
§impl ModemFirmwareUpdateMethod
impl ModemFirmwareUpdateMethod
pub const NONE: Self
pub const NONE: Self
The modem cannot be updated.
pub const FASTBOOT: Self
pub const FASTBOOT: Self
Update with fastboot.
pub const QMI_PDC: Self
pub const QMI_PDC: Self
Update with QMI PDC.
pub const MBIM_QDU: Self
pub const MBIM_QDU: Self
Update with MBIM QDU.
Added in ModemManager 1.18.
pub const FIREHOSE: Self
pub const FIREHOSE: Self
Update with Firehose.
Added in ModemManager 1.18.
pub const SAHARA: Self
pub const SAHARA: Self
Update with Sahara.
Added in ModemManager 1.20.
pub const DFOTA: Self
pub const DFOTA: Self
Delta firmware update over the air.
Added in ModemManager 1.24.
pub const CINTERION_FDL: Self
pub const CINTERION_FDL: Self
Update with Cinterion firmware download.
Added in ModemManager 1.24.
Trait Implementations§
§impl BitAnd for ModemFirmwareUpdateMethod
impl BitAnd for ModemFirmwareUpdateMethod
§impl BitAndAssign for ModemFirmwareUpdateMethod
impl BitAndAssign for ModemFirmwareUpdateMethod
§fn bitand_assign(&mut self, __other: Self)
fn bitand_assign(&mut self, __other: Self)
Performs the
&= operation. Read more§impl BitOr for ModemFirmwareUpdateMethod
impl BitOr for ModemFirmwareUpdateMethod
§impl BitOrAssign for ModemFirmwareUpdateMethod
impl BitOrAssign for ModemFirmwareUpdateMethod
§fn bitor_assign(&mut self, __other: Self)
fn bitor_assign(&mut self, __other: Self)
Performs the
|= operation. Read more§impl Clone for ModemFirmwareUpdateMethod
impl Clone for ModemFirmwareUpdateMethod
§fn clone(&self) -> ModemFirmwareUpdateMethod
fn clone(&self) -> ModemFirmwareUpdateMethod
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 ModemFirmwareUpdateMethod
§impl Debug for ModemFirmwareUpdateMethod
impl Debug for ModemFirmwareUpdateMethod
§impl Default for ModemFirmwareUpdateMethod
impl Default for ModemFirmwareUpdateMethod
§fn default() -> ModemFirmwareUpdateMethod
fn default() -> ModemFirmwareUpdateMethod
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ModemFirmwareUpdateMethod
impl<'de> Deserialize<'de> for ModemFirmwareUpdateMethod
§fn deserialize<D>(__deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(__deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModemFirmwareUpdateMethod
§impl From<ModemFirmwareUpdateMethod> for u32
impl From<ModemFirmwareUpdateMethod> for u32
§fn from(__value: ModemFirmwareUpdateMethod) -> Self
fn from(__value: ModemFirmwareUpdateMethod) -> Self
Converts to this type from the input type.
§impl From<ModemFirmwareUpdateMethod> for Value<'static>
impl From<ModemFirmwareUpdateMethod> for Value<'static>
§fn from(__value: ModemFirmwareUpdateMethod) -> Self
fn from(__value: ModemFirmwareUpdateMethod) -> Self
Converts to this type from the input type.
§impl From<u32> for ModemFirmwareUpdateMethod
impl From<u32> for ModemFirmwareUpdateMethod
§impl Hash for ModemFirmwareUpdateMethod
impl Hash for ModemFirmwareUpdateMethod
§impl PartialEq for ModemFirmwareUpdateMethod
impl PartialEq for ModemFirmwareUpdateMethod
§impl Serialize for ModemFirmwareUpdateMethod
impl Serialize for ModemFirmwareUpdateMethod
impl StructuralPartialEq for ModemFirmwareUpdateMethod
§impl Sub for ModemFirmwareUpdateMethod
impl Sub for ModemFirmwareUpdateMethod
§impl SubAssign for ModemFirmwareUpdateMethod
impl SubAssign for ModemFirmwareUpdateMethod
§fn sub_assign(&mut self, __other: Self)
fn sub_assign(&mut self, __other: Self)
Performs the
-= operation. Read more§impl TryFrom<OwnedValue> for ModemFirmwareUpdateMethod
impl TryFrom<OwnedValue> for ModemFirmwareUpdateMethod
§impl<'__a> TryFrom<Value<'__a>> for ModemFirmwareUpdateMethod
impl<'__a> TryFrom<Value<'__a>> for ModemFirmwareUpdateMethod
§impl Type for ModemFirmwareUpdateMethod
impl Type for ModemFirmwareUpdateMethod
Auto Trait Implementations§
impl Freeze for ModemFirmwareUpdateMethod
impl RefUnwindSafe for ModemFirmwareUpdateMethod
impl Send for ModemFirmwareUpdateMethod
impl Sync for ModemFirmwareUpdateMethod
impl Unpin for ModemFirmwareUpdateMethod
impl UnsafeUnpin for ModemFirmwareUpdateMethod
impl UnwindSafe for ModemFirmwareUpdateMethod
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.