Struct fidl_fuchsia_update_installer::StageData
source · pub struct StageData {
pub info: Option<UpdateInfo>,
pub progress: Option<InstallationProgress>,
/* private fields */
}
Expand description
Data associated with [State.stage
].
Fields§
§info: Option<UpdateInfo>
§progress: Option<InstallationProgress>
Implementations§
Trait Implementations§
source§impl Decode<StageData> for StageData
impl Decode<StageData> for StageData
source§impl PartialEq<StageData> for StageData
impl PartialEq<StageData> for StageData
source§impl TypeMarker for StageData
impl TypeMarker for StageData
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moresource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.