pub enum InputReportsReaderV2Request {
AcknowledgeReports {
last_acknowledged_report_stamp: u64,
control_handle: InputReportsReaderV2ControlHandle,
},
#[non_exhaustive] _UnknownMethod {
ordinal: u64,
control_handle: InputReportsReaderV2ControlHandle,
method_type: MethodType,
},
}Expand description
A reader protocol that reports input events.
Variants§
AcknowledgeReports
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.
#[non_exhaustive]_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: InputReportsReaderV2ControlHandle§
method_type: MethodTypeImplementations§
Source§impl InputReportsReaderV2Request
impl InputReportsReaderV2Request
pub fn into_acknowledge_reports( self, ) -> Option<(u64, InputReportsReaderV2ControlHandle)>
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 !RefUnwindSafe for InputReportsReaderV2Request
impl !UnwindSafe for InputReportsReaderV2Request
impl Freeze for InputReportsReaderV2Request
impl Send for InputReportsReaderV2Request
impl Sync for InputReportsReaderV2Request
impl Unpin for InputReportsReaderV2Request
impl UnsafeUnpin for InputReportsReaderV2Request
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