#[repr(i32)]pub enum Step {
Unspecified = 0,
SendInputEventUi = 3,
HandleInputEventImpl = 5,
DidHandleInputAndOverscroll = 8,
HandleInputEventMain = 4,
MainThreadScrollUpdate = 2,
HandleInputEventMainCommit = 1,
HandledInputEventMainOrImpl = 9,
HandledInputEventImpl = 10,
SwapBuffers = 6,
DrawAndSwap = 7,
FinishedSwapBuffers = 11,
}Expand description
NEXT ID: 12 All step are optional but the enum is ordered (not by number) below in the order we expect them to appear if they are emitted in trace in a blocking fashion.
Variants§
Unspecified = 0
SendInputEventUi = 3
Emitted on the browser main thread.
HandleInputEventImpl = 5
Happens on the renderer’s compositor.
DidHandleInputAndOverscroll = 8
HandleInputEventMain = 4
Occurs on the Renderer’s main thread.
MainThreadScrollUpdate = 2
HandleInputEventMainCommit = 1
HandledInputEventMainOrImpl = 9
Could be emitted on both the renderer’s main OR compositor.
HandledInputEventImpl = 10
Optionally sometimes HANDLED_INPUT_EVENT_MAIN_OR_IMPL will proxy to the renderer’s compositor and this will be emitted.
SwapBuffers = 6
Renderer’s compositor.
DrawAndSwap = 7
Happens on the VizCompositor in the GPU process.
FinishedSwapBuffers = 11
Happens on the GPU main thread after the swap has completed.
See above for NEXT ID, enum steps are not ordered by tag number.
Implementations§
Source§impl Step
impl Step
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Step>
pub fn from_str_name(value: &str) -> Option<Step>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for Step
impl Ord for Step
Source§impl PartialOrd for Step
impl PartialOrd for Step
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§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].