pub struct DataProviderControllerProxy { /* private fields */ }
Implementations§
source§impl DataProviderControllerProxy
impl DataProviderControllerProxy
sourcepub fn take_event_stream(&self) -> DataProviderControllerEventStream
pub fn take_event_stream(&self) -> DataProviderControllerEventStream
Get a Stream of events from the remote end of the DataProviderController protocol
Panics
Panics if the event stream was already taken.
sourcepub fn disable_and_drop_persistent_logs(&self) -> QueryResponseFut<()>
pub fn disable_and_drop_persistent_logs(&self) -> QueryResponseFut<()>
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 Clone for DataProviderControllerProxy
impl Clone for DataProviderControllerProxy
source§fn clone(&self) -> DataProviderControllerProxy
fn clone(&self) -> DataProviderControllerProxy
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 DataProviderControllerProxyInterface for DataProviderControllerProxy
impl DataProviderControllerProxyInterface for DataProviderControllerProxy
type DisableAndDropPersistentLogsResponseFut = QueryResponseFut<()>
fn disable_and_drop_persistent_logs( &self ) -> Self::DisableAndDropPersistentLogsResponseFut
source§impl Debug for DataProviderControllerProxy
impl Debug for DataProviderControllerProxy
source§impl Proxy for DataProviderControllerProxy
impl Proxy for DataProviderControllerProxy
§type Protocol = DataProviderControllerMarker
type Protocol = DataProviderControllerMarker
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