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.
Trait Implementations§
source§impl SynchronousProxy for DataProviderControllerSynchronousProxy
impl SynchronousProxy for DataProviderControllerSynchronousProxy
§type Proxy = DataProviderControllerProxy
type Proxy = DataProviderControllerProxy
The async proxy for the same protocol.
§type Protocol = DataProviderControllerMarker
type Protocol = DataProviderControllerMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DataProviderControllerSynchronousProxy
impl Send for DataProviderControllerSynchronousProxy
impl Sync for DataProviderControllerSynchronousProxy
impl Unpin for DataProviderControllerSynchronousProxy
impl UnwindSafe for DataProviderControllerSynchronousProxy
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