pub struct SysInfoSynchronousProxy { /* private fields */ }
Implementations§
Source§impl SysInfoSynchronousProxy
impl SysInfoSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<SysInfoEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<SysInfoEvent, 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 get_board_name(
&self,
___deadline: MonotonicInstant,
) -> Result<(i32, Option<String>), Error>
pub fn get_board_name( &self, ___deadline: MonotonicInstant, ) -> Result<(i32, Option<String>), Error>
Return the board name for the platform we are running on.
Sourcepub fn get_board_revision(
&self,
___deadline: MonotonicInstant,
) -> Result<(i32, u32), Error>
pub fn get_board_revision( &self, ___deadline: MonotonicInstant, ) -> Result<(i32, u32), Error>
Return the board revision for the board we are running on.
Sourcepub fn get_bootloader_vendor(
&self,
___deadline: MonotonicInstant,
) -> Result<(i32, Option<String>), Error>
pub fn get_bootloader_vendor( &self, ___deadline: MonotonicInstant, ) -> Result<(i32, Option<String>), Error>
Return the bootloader vendor for the platform we are running on.
Sourcepub fn get_interrupt_controller_info(
&self,
___deadline: MonotonicInstant,
) -> Result<(i32, Option<Box<InterruptControllerInfo>>), Error>
pub fn get_interrupt_controller_info( &self, ___deadline: MonotonicInstant, ) -> Result<(i32, Option<Box<InterruptControllerInfo>>), Error>
Return interrupt controller information.
pub fn get_serial_number( &self, ___deadline: MonotonicInstant, ) -> Result<SysInfoGetSerialNumberResult, Error>
Trait Implementations§
Source§impl Debug for SysInfoSynchronousProxy
impl Debug for SysInfoSynchronousProxy
Source§impl SynchronousProxy for SysInfoSynchronousProxy
impl SynchronousProxy for SysInfoSynchronousProxy
Source§type Proxy = SysInfoProxy
type Proxy = SysInfoProxy
The async proxy for the same protocol.
Source§type Protocol = SysInfoMarker
type Protocol = SysInfoMarker
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 SysInfoSynchronousProxy
impl RefUnwindSafe for SysInfoSynchronousProxy
impl Send for SysInfoSynchronousProxy
impl Sync for SysInfoSynchronousProxy
impl Unpin for SysInfoSynchronousProxy
impl UnwindSafe for SysInfoSynchronousProxy
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