pub struct LayersSnapshotProto {
pub elapsed_realtime_nanos: Option<i64>,
pub where: Option<String>,
pub layers: Option<LayersProto>,
pub hwc_blob: Option<String>,
pub excludes_composition_state: Option<bool>,
pub missed_entries: Option<u32>,
pub displays: Vec<DisplayProto>,
pub vsync_id: Option<i64>,
}Fields§
§elapsed_realtime_nanos: Option<i64>elapsed realtime in nanos since boot of when this entry was logged
where: Option<String>SurfaceFlinger’s stage where the snapshot was triggered. Currently either “visibleRegionsDirty” or “bufferLatched”.
layers: Option<LayersProto>§hwc_blob: Option<String>Blob for the current HWC information for all layers, reported by dumpsys. Example: “maxDownScale: 4, maxFullWidth: 8192, HWState: 1, AssignedState: 3, …”
excludes_composition_state: Option<bool>Excludes state sent during composition like visible region and composition type.
missed_entries: Option<u32>Number of missed entries since the last entry was recorded.
displays: Vec<DisplayProto>§vsync_id: Option<i64>Implementations§
Source§impl LayersSnapshotProto
impl LayersSnapshotProto
Sourcepub fn elapsed_realtime_nanos(&self) -> i64
pub fn elapsed_realtime_nanos(&self) -> i64
Returns the value of elapsed_realtime_nanos, or the default value if elapsed_realtime_nanos is unset.
Sourcepub fn where(&self) -> &str
pub fn where(&self) -> &str
Returns the value of where, or the default value if where is unset.
Sourcepub fn hwc_blob(&self) -> &str
pub fn hwc_blob(&self) -> &str
Returns the value of hwc_blob, or the default value if hwc_blob is unset.
Sourcepub fn excludes_composition_state(&self) -> bool
pub fn excludes_composition_state(&self) -> bool
Returns the value of excludes_composition_state, or the default value if excludes_composition_state is unset.
Sourcepub fn missed_entries(&self) -> u32
pub fn missed_entries(&self) -> u32
Returns the value of missed_entries, or the default value if missed_entries is unset.
Trait Implementations§
Source§impl Clone for LayersSnapshotProto
impl Clone for LayersSnapshotProto
Source§fn clone(&self) -> LayersSnapshotProto
fn clone(&self) -> LayersSnapshotProto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LayersSnapshotProto
impl Debug for LayersSnapshotProto
Source§impl Default for LayersSnapshotProto
impl Default for LayersSnapshotProto
Source§fn default() -> LayersSnapshotProto
fn default() -> LayersSnapshotProto
Source§impl Message for LayersSnapshotProto
impl Message for LayersSnapshotProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for LayersSnapshotProto
impl PartialEq for LayersSnapshotProto
impl StructuralPartialEq for LayersSnapshotProto
Auto Trait Implementations§
impl Freeze for LayersSnapshotProto
impl RefUnwindSafe for LayersSnapshotProto
impl Send for LayersSnapshotProto
impl Sync for LayersSnapshotProto
impl Unpin for LayersSnapshotProto
impl UnwindSafe for LayersSnapshotProto
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].