pub struct InputReportsReaderV2SynchronousProxy { /* private fields */ }Implementations§
Source§impl InputReportsReaderV2SynchronousProxy
impl InputReportsReaderV2SynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<InputReportsReaderV2Event, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<InputReportsReaderV2Event, 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 acknowledge_reports(
&self,
last_acknowledged_report_stamp: u64,
) -> Result<(), Error>
pub fn acknowledge_reports( &self, last_acknowledged_report_stamp: u64, ) -> Result<(), Error>
The client has processed events up to last_acknowledged_report_stamp.
All reports sent with a last_report_stamp less than or equal to
last_acknowledged_report_stamp will be considered acknowledged, and therefore
will not count towards the max_unacknowledged_reports limit.
Trait Implementations§
Source§impl From<Channel> for InputReportsReaderV2SynchronousProxy
Available on Fuchsia only.
impl From<Channel> for InputReportsReaderV2SynchronousProxy
Available on Fuchsia only.
Source§impl From<InputReportsReaderV2SynchronousProxy> for NullableHandle
Available on Fuchsia only.
impl From<InputReportsReaderV2SynchronousProxy> for NullableHandle
Available on Fuchsia only.
Source§fn from(value: InputReportsReaderV2SynchronousProxy) -> Self
fn from(value: InputReportsReaderV2SynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for InputReportsReaderV2SynchronousProxy
Available on Fuchsia only.
impl FromClient for InputReportsReaderV2SynchronousProxy
Available on Fuchsia only.
Source§type Protocol = InputReportsReaderV2Marker
type Protocol = InputReportsReaderV2Marker
The protocol.
Source§fn from_client(value: ClientEnd<InputReportsReaderV2Marker>) -> Self
fn from_client(value: ClientEnd<InputReportsReaderV2Marker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for InputReportsReaderV2SynchronousProxy
Available on Fuchsia only.
impl SynchronousProxy for InputReportsReaderV2SynchronousProxy
Available on Fuchsia only.
Source§type Proxy = InputReportsReaderV2Proxy
type Proxy = InputReportsReaderV2Proxy
The async proxy for the same protocol.
Source§type Protocol = InputReportsReaderV2Marker
type Protocol = InputReportsReaderV2Marker
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 InputReportsReaderV2SynchronousProxy
impl RefUnwindSafe for InputReportsReaderV2SynchronousProxy
impl Send for InputReportsReaderV2SynchronousProxy
impl Sync for InputReportsReaderV2SynchronousProxy
impl Unpin for InputReportsReaderV2SynchronousProxy
impl UnsafeUnpin for InputReportsReaderV2SynchronousProxy
impl UnwindSafe for InputReportsReaderV2SynchronousProxy
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