pub struct RebootControllerProxy { /* private fields */ }
Implementations§
source§impl RebootControllerProxy
impl RebootControllerProxy
sourcepub fn take_event_stream(&self) -> RebootControllerEventStream
pub fn take_event_stream(&self) -> RebootControllerEventStream
Get a Stream of events from the remote end of the RebootController protocol
Panics
Panics if the event stream was already taken.
sourcepub fn unblock(&self) -> Result<(), Error>
pub fn unblock(&self) -> Result<(), Error>
Informs the update attempt that it may reboot when ready, unblocking a pending reboot if it is already ready to reboot.
If a controller is dropped without sending this request or
[RebootController.Detach
], the update attempt reclaims control of the
timing of the reboot, behaving as if the update attempt was not given a
[RebootController
] at all.
Trait Implementations§
source§impl Clone for RebootControllerProxy
impl Clone for RebootControllerProxy
source§fn clone(&self) -> RebootControllerProxy
fn clone(&self) -> RebootControllerProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RebootControllerProxy
impl Debug for RebootControllerProxy
source§impl Proxy for RebootControllerProxy
impl Proxy for RebootControllerProxy
§type Protocol = RebootControllerMarker
type Protocol = RebootControllerMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more