pub struct FactoryResetCountdownSynchronousProxy { /* private fields */ }
Implementations§
source§impl FactoryResetCountdownSynchronousProxy
impl FactoryResetCountdownSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<FactoryResetCountdownEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<FactoryResetCountdownEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn watch(
&self,
___deadline: Time
) -> Result<FactoryResetCountdownState, Error>
pub fn watch( &self, ___deadline: Time ) -> Result<FactoryResetCountdownState, Error>
Hanging get that returns when a factory reset is scheduled or a scheduled factory reset is cancelled. Will return immediately on first call per connection and then on change after that.