pub struct Cr50SynchronousProxy { /* private fields */ }
Implementations§
Source§impl Cr50SynchronousProxy
impl Cr50SynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<Cr50Event, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<Cr50Event, 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 ccd_get_info(
&self,
___deadline: MonotonicInstant,
) -> Result<Cr50CcdGetInfoResult, Error>
pub fn ccd_get_info( &self, ___deadline: MonotonicInstant, ) -> Result<Cr50CcdGetInfoResult, Error>
Get information about the current state of case-closed debugging.
Sourcepub fn ccd_lock(
&self,
___deadline: MonotonicInstant,
) -> Result<Cr50CcdLockResult, Error>
pub fn ccd_lock( &self, ___deadline: MonotonicInstant, ) -> Result<Cr50CcdLockResult, Error>
Lock case-closed debugging.
Sourcepub fn ccd_open(
&self,
password: Option<&str>,
___deadline: MonotonicInstant,
) -> Result<Cr50CcdOpenResult, Error>
pub fn ccd_open( &self, password: Option<&str>, ___deadline: MonotonicInstant, ) -> Result<Cr50CcdOpenResult, Error>
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>,
___deadline: MonotonicInstant,
) -> Result<Cr50CcdUnlockResult, Error>
pub fn ccd_unlock( &self, password: Option<&str>, ___deadline: MonotonicInstant, ) -> Result<Cr50CcdUnlockResult, Error>
Put case-closed debugging into the UNLOCKED state. See |CcdState| for a description of what each state means.
Sourcepub fn wp_get_state(
&self,
___deadline: MonotonicInstant,
) -> Result<Cr50WpGetStateResult, Error>
pub fn wp_get_state( &self, ___deadline: MonotonicInstant, ) -> Result<Cr50WpGetStateResult, Error>
Get the current state of the AP BIOS flash write protect.
Trait Implementations§
Source§impl Debug for Cr50SynchronousProxy
impl Debug for Cr50SynchronousProxy
Source§impl SynchronousProxy for Cr50SynchronousProxy
impl SynchronousProxy for Cr50SynchronousProxy
Source§type Protocol = Cr50Marker
type Protocol = Cr50Marker
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 Freeze for Cr50SynchronousProxy
impl RefUnwindSafe for Cr50SynchronousProxy
impl Send for Cr50SynchronousProxy
impl Sync for Cr50SynchronousProxy
impl Unpin for Cr50SynchronousProxy
impl UnwindSafe for Cr50SynchronousProxy
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