pub struct BootManager;Expand description
The type corresponding to the BootManager protocol. Protocol for managing boot configurations.
All functions will first check the A/B/R metadata and reset it to the default state if it’s invalid.
Operations which change the configuration are applied transactionally and will not be persisted to storage until Flush() is called, at which point they will all be applied (or none at all). If any of the operations fail (which is generally unexpected), the current set of changes may be discarded.
The connection will be immediately closed with an epitaph of ZX_ERR_NOT_SUPPORTED if A/B/R is
not supported.
Trait Implementations§
Source§impl Debug for BootManager
impl Debug for BootManager
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for BootManagerwhere
___H: BootManagerClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for BootManagerwhere
___H: BootManagerClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for BootManagerwhere
___H: BootManagerLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for BootManagerwhere
___H: BootManagerLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for BootManagerwhere
___H: BootManagerLocalServerHandler<___T>,
___T: Transport,
for<'de> BootManagerQueryConfigurationStatusRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerQueryConfigurationStatusAndBootAttemptsRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationActiveRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationUnbootableRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationHealthyRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for BootManagerwhere
___H: BootManagerLocalServerHandler<___T>,
___T: Transport,
for<'de> BootManagerQueryConfigurationStatusRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerQueryConfigurationStatusAndBootAttemptsRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationActiveRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationUnbootableRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationHealthyRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for BootManagerwhere
___H: BootManagerServerHandler<___T> + Send,
___T: Transport,
for<'de> BootManagerQueryConfigurationStatusRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerQueryConfigurationStatusAndBootAttemptsRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationActiveRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationUnbootableRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationHealthyRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for BootManagerwhere
___H: BootManagerServerHandler<___T> + Send,
___T: Transport,
for<'de> BootManagerQueryConfigurationStatusRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerQueryConfigurationStatusAndBootAttemptsRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationActiveRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationUnbootableRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> BootManagerSetConfigurationHealthyRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___T> HasConnectionHandles<___T> for BootManagerwhere
___T: Transport,
impl<___T> HasConnectionHandles<___T> for BootManagerwhere
___T: Transport,
Source§impl HasTransport for BootManager
Available on Fuchsia only.
impl HasTransport for BootManager
Available on Fuchsia only.
Source§impl PartialEq for BootManager
impl PartialEq for BootManager
impl StructuralPartialEq for BootManager
Auto Trait Implementations§
impl Freeze for BootManager
impl RefUnwindSafe for BootManager
impl Send for BootManager
impl Sync for BootManager
impl Unpin for BootManager
impl UnsafeUnpin for BootManager
impl UnwindSafe for BootManager
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§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]