fidl_fuchsia_paverTrait BootManagerProxyInterface
Source pub trait BootManagerProxyInterface: Send + Sync {
type QueryCurrentConfigurationResponseFut: Future<Output = Result<BootManagerQueryCurrentConfigurationResult, Error>> + Send;
type QueryActiveConfigurationResponseFut: Future<Output = Result<BootManagerQueryActiveConfigurationResult, Error>> + Send;
type QueryConfigurationLastSetActiveResponseFut: Future<Output = Result<BootManagerQueryConfigurationLastSetActiveResult, Error>> + Send;
type QueryConfigurationStatusResponseFut: Future<Output = Result<BootManagerQueryConfigurationStatusResult, Error>> + Send;
type QueryConfigurationStatusAndBootAttemptsResponseFut: Future<Output = Result<BootManagerQueryConfigurationStatusAndBootAttemptsResult, Error>> + Send;
type SetConfigurationActiveResponseFut: Future<Output = Result<i32, Error>> + Send;
type SetConfigurationUnbootableResponseFut: Future<Output = Result<i32, Error>> + Send;
type SetConfigurationHealthyResponseFut: Future<Output = Result<i32, Error>> + Send;
type SetOneShotRecoveryResponseFut: Future<Output = Result<BootManagerSetOneShotRecoveryResult, Error>> + Send;
type FlushResponseFut: Future<Output = Result<i32, Error>> + Send;
// Required methods
fn query_current_configuration(
&self,
) -> Self::QueryCurrentConfigurationResponseFut;
fn query_active_configuration(
&self,
) -> Self::QueryActiveConfigurationResponseFut;
fn query_configuration_last_set_active(
&self,
) -> Self::QueryConfigurationLastSetActiveResponseFut;
fn query_configuration_status(
&self,
configuration: Configuration,
) -> Self::QueryConfigurationStatusResponseFut;
fn query_configuration_status_and_boot_attempts(
&self,
configuration: Configuration,
) -> Self::QueryConfigurationStatusAndBootAttemptsResponseFut;
fn set_configuration_active(
&self,
configuration: Configuration,
) -> Self::SetConfigurationActiveResponseFut;
fn set_configuration_unbootable(
&self,
configuration: Configuration,
) -> Self::SetConfigurationUnbootableResponseFut;
fn set_configuration_healthy(
&self,
configuration: Configuration,
) -> Self::SetConfigurationHealthyResponseFut;
fn set_one_shot_recovery(&self) -> Self::SetOneShotRecoveryResponseFut;
fn flush(&self) -> Self::FlushResponseFut;
}