Crate fidl_fuchsia_update_installer_ext

Source
Expand description

fidl_fuchsia_update_installer_ext contains wrapper types around the auto-generated fidl_fuchsia_update_installer bindings.

Re-exports§

pub use state::FailFetchData;
pub use state::FailStageData;
pub use state::FetchFailureReason;
pub use state::PrepareFailureReason;
pub use state::Progress;
pub use state::StageFailureReason;
pub use state::State;
pub use state::StateId;
pub use state::UpdateInfo;
pub use state::UpdateInfoAndProgress;
pub use options::Initiator;
pub use options::Options;

Modules§

options
Wrapper types for the Options table.
state
Wrapper types for the State union.

Structs§

UpdateAttempt
An update attempt.
UpdateAttemptMonitor
A monitor of an update attempt.

Enums§

MonitorUpdateAttemptError
Describes the errors encountered by the UpdateAttempt’s monitor stream.
UpdateAttemptError
Describes the errors encountered by UpdateAttempt.

Functions§

monitor_update
Monitors the running update attempt given by attempt_id, or any running update attempt if no attempt_id is provided.
start_update
Checks if an update can be started and returns the UpdateAttempt containing the attempt_id and MonitorRequestStream to the client.