pub struct DataProviderControllerSynchronousProxy { /* private fields */ }
Implementations§
source§impl DataProviderControllerSynchronousProxy
impl DataProviderControllerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<DataProviderControllerEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<DataProviderControllerEvent, 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 disable_and_drop_persistent_logs(
&self,
___deadline: Time
) -> Result<(), Error>
pub fn disable_and_drop_persistent_logs( &self, ___deadline: Time ) -> Result<(), Error>
Disables persistent logging for the remainder of the boot and drops any logs that have been persisted. Returns when both have completed. Persistent logging cannot be re-enabled at the moment due to the fact that a device is expected to reboot soon after persistent logging has been disabled.
Be aware that any snapshots created during the next boot will not have logs from the current boot and can make debugging difficult.