pub struct Cr50Proxy { /* private fields */ }
Implementations§
Source§impl Cr50Proxy
impl Cr50Proxy
Sourcepub fn take_event_stream(&self) -> Cr50EventStream
pub fn take_event_stream(&self) -> Cr50EventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn ccd_get_info(
&self,
) -> QueryResponseFut<Cr50CcdGetInfoResult, DefaultFuchsiaResourceDialect>
pub fn ccd_get_info( &self, ) -> QueryResponseFut<Cr50CcdGetInfoResult, DefaultFuchsiaResourceDialect>
Get information about the current state of case-closed debugging.
Sourcepub fn ccd_lock(
&self,
) -> QueryResponseFut<Cr50CcdLockResult, DefaultFuchsiaResourceDialect>
pub fn ccd_lock( &self, ) -> QueryResponseFut<Cr50CcdLockResult, DefaultFuchsiaResourceDialect>
Lock case-closed debugging.
Sourcepub fn ccd_open(
&self,
password: Option<&str>,
) -> QueryResponseFut<Cr50CcdOpenResult, DefaultFuchsiaResourceDialect>
pub fn ccd_open( &self, password: Option<&str>, ) -> QueryResponseFut<Cr50CcdOpenResult, DefaultFuchsiaResourceDialect>
Put case-closed debugging into the OPEN state. See |CcdState| for a description of what each state means.
Sourcepub fn ccd_unlock(
&self,
password: Option<&str>,
) -> QueryResponseFut<Cr50CcdUnlockResult, DefaultFuchsiaResourceDialect>
pub fn ccd_unlock( &self, password: Option<&str>, ) -> QueryResponseFut<Cr50CcdUnlockResult, DefaultFuchsiaResourceDialect>
Put case-closed debugging into the UNLOCKED state. See |CcdState| for a description of what each state means.
Sourcepub fn wp_get_state(
&self,
) -> QueryResponseFut<Cr50WpGetStateResult, DefaultFuchsiaResourceDialect>
pub fn wp_get_state( &self, ) -> QueryResponseFut<Cr50WpGetStateResult, DefaultFuchsiaResourceDialect>
Get the current state of the AP BIOS flash write protect.
Trait Implementations§
Source§impl Cr50ProxyInterface for Cr50Proxy
impl Cr50ProxyInterface for Cr50Proxy
type CcdGetInfoResponseFut = QueryResponseFut<Result<(Cr50Rc, Option<Box<CcdInfo>>), i32>>
type CcdLockResponseFut = QueryResponseFut<Result<Cr50Rc, i32>>
type CcdOpenResponseFut = QueryResponseFut<Result<(Cr50Rc, Option<ClientEnd<PhysicalPresenceNotifierMarker>>), i32>>
type CcdUnlockResponseFut = QueryResponseFut<Result<(Cr50Rc, Option<ClientEnd<PhysicalPresenceNotifierMarker>>), i32>>
type WpGetStateResponseFut = QueryResponseFut<Result<(Cr50Rc, WpState), i32>>
fn ccd_get_info(&self) -> Self::CcdGetInfoResponseFut
fn ccd_lock(&self) -> Self::CcdLockResponseFut
fn ccd_open(&self, password: Option<&str>) -> Self::CcdOpenResponseFut
fn ccd_unlock(&self, password: Option<&str>) -> Self::CcdUnlockResponseFut
fn wp_get_state(&self) -> Self::WpGetStateResponseFut
Source§impl Proxy for Cr50Proxy
impl Proxy for Cr50Proxy
Source§type Protocol = Cr50Marker
type Protocol = Cr50Marker
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
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Attempt to convert the proxy back into a client end. Read more
Auto Trait Implementations§
impl Freeze for Cr50Proxy
impl !RefUnwindSafe for Cr50Proxy
impl Send for Cr50Proxy
impl Sync for Cr50Proxy
impl Unpin for Cr50Proxy
impl !UnwindSafe for Cr50Proxy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ProxyHasClient for Twhere
T: Proxy,
impl<T> ProxyHasClient for Twhere
T: Proxy,
§fn client(&self) -> Result<ZirconClient, Infallible>
fn client(&self) -> Result<ZirconClient, Infallible>
Get a “client” for this proxy. This is just an object which has methods
for a few common handle creation operations.