pub enum InputReportsReaderRequest {
ReadInputReports {
responder: InputReportsReaderReadInputReportsResponder,
},
}
Expand description
Each InputReportsReader
has its own FIFO of InputReports that it maintains.
When ReadInputReports is called it drains the InputReports FIFO.
If too many InputReports are created before the FIFO is drained, then
the oldest InputReport will be silently discarded.
Variants§
ReadInputReports
This is a Hanging-Get function to read the reports in the InputReport FIFO. This will not reply until there is at least one report available. If there is already one outstanding Hanging-Get, calling this again will return ZX_ERR_ALREADY_BOUND.
Fields
§
responder: InputReportsReaderReadInputReportsResponder
Implementations§
Source§impl InputReportsReaderRequest
impl InputReportsReaderRequest
pub fn into_read_input_reports( self, ) -> Option<InputReportsReaderReadInputReportsResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputReportsReaderRequest
impl !RefUnwindSafe for InputReportsReaderRequest
impl Send for InputReportsReaderRequest
impl Sync for InputReportsReaderRequest
impl Unpin for InputReportsReaderRequest
impl !UnwindSafe for InputReportsReaderRequest
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