pub enum StreamFormat {
Json,
Proto,
Unrecognized(String),
}Expand description
Data format of a trace. Can be either the legacy JSON format or the protocol buffer format. Note that the JSON format will be deprecated soon.
Experimental: may change without notice.
Variants§
Json
json
Proto
proto
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 StreamFormat
impl Clone for StreamFormat
Source§impl Debug for StreamFormat
impl Debug for StreamFormat
Source§impl<'de> Deserialize<'de> for StreamFormat
impl<'de> Deserialize<'de> for StreamFormat
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 StreamFormat
Source§impl Hash for StreamFormat
impl Hash for StreamFormat
Source§impl PartialEq for StreamFormat
impl PartialEq for StreamFormat
Source§impl Serialize for StreamFormat
impl Serialize for StreamFormat
impl StructuralPartialEq for StreamFormat
Auto Trait Implementations§
impl Forget for StreamFormat
impl Freeze for StreamFormat
impl RefUnwindSafe for StreamFormat
impl Send for StreamFormat
impl Sync for StreamFormat
impl Unpin for StreamFormat
impl UnsafeUnpin for StreamFormat
impl UnwindSafe for StreamFormat
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