Struct fidl_fuchsia_tpm_cr50::Cr50Proxy
source · 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>
pub fn ccd_get_info(&self) -> QueryResponseFut<Cr50CcdGetInfoResult>
Get information about the current state of case-closed debugging.
sourcepub fn ccd_lock(&self) -> QueryResponseFut<Cr50CcdLockResult>
pub fn ccd_lock(&self) -> QueryResponseFut<Cr50CcdLockResult>
Lock case-closed debugging.
sourcepub fn ccd_open(
&self,
password: Option<&str>
) -> QueryResponseFut<Cr50CcdOpenResult>
pub fn ccd_open( &self, password: Option<&str> ) -> QueryResponseFut<Cr50CcdOpenResult>
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>
pub fn ccd_unlock( &self, password: Option<&str> ) -> QueryResponseFut<Cr50CcdUnlockResult>
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>
pub fn wp_get_state(&self) -> QueryResponseFut<Cr50WpGetStateResult>
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>>
fn ccd_get_info(&self) -> Self::CcdGetInfoResponseFut
type CcdLockResponseFut = QueryResponseFut<Result<Cr50Rc, i32>>
fn ccd_lock(&self) -> Self::CcdLockResponseFut
type CcdOpenResponseFut = QueryResponseFut<Result<(Cr50Rc, Option<ClientEnd<PhysicalPresenceNotifierMarker>>), i32>>
fn ccd_open(&self, password: Option<&str>) -> Self::CcdOpenResponseFut
type CcdUnlockResponseFut = QueryResponseFut<Result<(Cr50Rc, Option<ClientEnd<PhysicalPresenceNotifierMarker>>), i32>>
fn ccd_unlock(&self, password: Option<&str>) -> Self::CcdUnlockResponseFut
type WpGetStateResponseFut = QueryResponseFut<Result<(Cr50Rc, WpState), i32>>
fn wp_get_state(&self) -> Self::WpGetStateResponseFut
source§impl Proxy for Cr50Proxy
impl Proxy for Cr50Proxy
§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