pub enum DeviceReportsReaderRequest {
ReadReports {
responder: DeviceReportsReaderReadReportsResponder,
},
}
Expand description
Each DeviceReportsReader
has its own FIFO of reports in the driver.
Calling ReadReports
drains the Report FIFO. If the Report FIFO fills up
between calls to ReadReports
the channel will be closed.
Variants§
ReadReports
This is a Hanging-Get function to read the reports in the Report FIFO. This will block 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: DeviceReportsReaderReadReportsResponder
Implementations§
Source§impl DeviceReportsReaderRequest
impl DeviceReportsReaderRequest
pub fn into_read_reports( self, ) -> Option<DeviceReportsReaderReadReportsResponder>
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 DeviceReportsReaderRequest
impl !RefUnwindSafe for DeviceReportsReaderRequest
impl Send for DeviceReportsReaderRequest
impl Sync for DeviceReportsReaderRequest
impl Unpin for DeviceReportsReaderRequest
impl !UnwindSafe for DeviceReportsReaderRequest
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