pub struct BoardSynchronousProxy { /* private fields */ }
Implementations§
Source§impl BoardSynchronousProxy
impl BoardSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<BoardEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<BoardEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
pub fn get_info( &self, ___deadline: MonotonicInstant, ) -> Result<BoardInfo, Error>
Trait Implementations§
Source§impl Debug for BoardSynchronousProxy
impl Debug for BoardSynchronousProxy
Source§impl SynchronousProxy for BoardSynchronousProxy
impl SynchronousProxy for BoardSynchronousProxy
Source§type Proxy = BoardProxy
type Proxy = BoardProxy
The async proxy for the same protocol.
Source§type Protocol = BoardMarker
type Protocol = BoardMarker
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 BoardSynchronousProxy
impl RefUnwindSafe for BoardSynchronousProxy
impl Send for BoardSynchronousProxy
impl Sync for BoardSynchronousProxy
impl Unpin for BoardSynchronousProxy
impl UnwindSafe for BoardSynchronousProxy
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