pub struct ResetterProxy { /* private fields */ }
Implementations§
source§impl ResetterProxy
impl ResetterProxy
sourcepub fn take_event_stream(&self) -> ResetterEventStream
pub fn take_event_stream(&self) -> ResetterEventStream
Get a Stream of events from the remote end of the Resetter protocol
Panics
Panics if the event stream was already taken.
sourcepub fn reset(&self) -> QueryResponseFut<ResetterResetResult>
pub fn reset(&self) -> QueryResponseFut<ResetterResetResult>
Resets the sytem credential state. This is used when performing a factory reset.
Trait Implementations§
source§impl Clone for ResetterProxy
impl Clone for ResetterProxy
source§fn clone(&self) -> ResetterProxy
fn clone(&self) -> ResetterProxy
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 Debug for ResetterProxy
impl Debug for ResetterProxy
source§impl Proxy for ResetterProxy
impl Proxy for ResetterProxy
§type Protocol = ResetterMarker
type Protocol = ResetterMarker
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