pub struct FactoryResetSynchronousProxy { /* private fields */ }
Implementations§
source§impl FactoryResetSynchronousProxy
impl FactoryResetSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<FactoryResetEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<FactoryResetEvent, 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<FactoryResetSettings, Error>
pub fn watch(&self, ___deadline: Time) -> Result<FactoryResetSettings, Error>
Notifies of a change in information about the factory reset settings.
On a given connection, the first call will return the current settings
value while subsequent calls will only return the new settings
value
upon a value change. This follows the hanging get pattern.
If this call fails, it is considered a fatal error and the channel will be closed.
sourcepub fn set(
&self,
settings: FactoryResetSettings,
___deadline: Time
) -> Result<FactoryResetSetResult, Error>
pub fn set( &self, settings: FactoryResetSettings, ___deadline: Time ) -> Result<FactoryResetSetResult, Error>
Sets factory reset settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.