pub enum TracingBackend {
Auto,
Chrome,
System,
Unrecognized(String),
}Expand description
Backend type to use for tracing. chrome uses the Chrome-integrated
tracing service and is supported on all platforms. system is only
supported on Chrome OS and uses the Perfetto system tracing service.
auto chooses system when the perfettoConfig provided to Tracing.start
specifies at least one non-Chrome data source; otherwise uses chrome.
Experimental: may change without notice.
Variants§
Auto
auto
Chrome
chrome
System
system
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for TracingBackend
impl Clone for TracingBackend
Source§impl Debug for TracingBackend
impl Debug for TracingBackend
Source§impl<'de> Deserialize<'de> for TracingBackend
impl<'de> Deserialize<'de> for TracingBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TracingBackend
Source§impl Hash for TracingBackend
impl Hash for TracingBackend
Source§impl PartialEq for TracingBackend
impl PartialEq for TracingBackend
Source§impl Serialize for TracingBackend
impl Serialize for TracingBackend
impl StructuralPartialEq for TracingBackend
Auto Trait Implementations§
impl Forget for TracingBackend
impl Freeze for TracingBackend
impl RefUnwindSafe for TracingBackend
impl Send for TracingBackend
impl Sync for TracingBackend
impl Unpin for TracingBackend
impl UnsafeUnpin for TracingBackend
impl UnwindSafe for TracingBackend
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