pub struct InputFileStatus {
pub fidl_events_received_count: UintProperty,
pub fidl_events_ignored_count: UintProperty,
pub fidl_events_unexpected_count: UintProperty,
pub fidl_events_converted_count: UintProperty,
pub uapi_events_generated_count: UintProperty,
pub last_generated_uapi_event_timestamp_ns: IntProperty,
pub uapi_events_read_count: UintProperty,
pub last_read_uapi_event_timestamp_ns: IntProperty,
}Fields§
§fidl_events_received_count: UintPropertyThe number of FIDL events received by this file from Fuchsia input system.
We expect: fidl_events_received_count = fidl_events_ignored_count + fidl_events_unexpected_count + fidl_events_converted_count otherwise starnix ignored events unexpectedly.
fidl_events_unexpected_count should be 0, if not it hints issues from upstream of ui stack.
fidl_events_ignored_count: UintPropertyThe number of FIDL events ignored to this module’s representation of TouchEvent.
fidl_events_unexpected_count: UintPropertyThe unexpected number of FIDL events reached to this module should be filtered out earlier in the UI stack. It maybe unexpected format or unexpected order.
fidl_events_converted_count: UintPropertyThe number of FIDL events converted to this module’s representation of TouchEvent.
uapi_events_generated_count: UintPropertyThe number of uapi::input_events generated from TouchEvents.
last_generated_uapi_event_timestamp_ns: IntPropertyThe event time of the last generated uapi::input_event.
uapi_events_read_count: UintPropertyThe number of uapi::input_events read from this input file by external process.
last_read_uapi_event_timestamp_ns: IntPropertyThe event time of the last uapi::input_event read by external process.
Implementations§
Source§impl InputFileStatus
impl InputFileStatus
pub fn count_received_events(&self, count: u64)
pub fn count_ignored_events(&self, count: u64)
pub fn count_unexpected_events(&self, count: u64)
pub fn count_converted_events(&self, count: u64)
pub fn count_generated_events(&self, count: u64, event_time_ns: i64)
pub fn count_read_events(&self, count: u64, event_time_ns: i64)
Auto Trait Implementations§
impl Freeze for InputFileStatus
impl !RefUnwindSafe for InputFileStatus
impl Send for InputFileStatus
impl Sync for InputFileStatus
impl Unpin for InputFileStatus
impl UnsafeUnpin for InputFileStatus
impl !UnwindSafe for InputFileStatus
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more