pub enum CoverageSource {
V8 {
path: String,
},
Istanbul {
path: String,
},
V8Dir {
path: String,
},
Unknown,
}Expand description
A single coverage artifact on disk.
Variants§
V8
A single V8 ScriptCoverage JSON file.
Istanbul
A single Istanbul JSON file.
V8Dir
A directory containing multiple V8 dumps to merge in memory.
Unknown
Sentinel for forward-compatibility with newer producers that add
coverage source kinds (e.g. IstanbulDir, TraceEvent,
RuntimeBeacon) the current consumer has not seen yet. Sidecars
receiving an unknown kind map the entry here rather than
failing deserialization; the payload fields associated with the
unknown kind are intentionally discarded because the consumer
would not know how to interpret them. Added in protocol 0.7.0.
Trait Implementations§
Source§impl Clone for CoverageSource
impl Clone for CoverageSource
Source§fn clone(&self) -> CoverageSource
fn clone(&self) -> CoverageSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoverageSource
impl Debug for CoverageSource
Source§impl<'de> Deserialize<'de> for CoverageSource
impl<'de> Deserialize<'de> for CoverageSource
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
Auto Trait Implementations§
impl Freeze for CoverageSource
impl RefUnwindSafe for CoverageSource
impl Send for CoverageSource
impl Sync for CoverageSource
impl Unpin for CoverageSource
impl UnsafeUnpin for CoverageSource
impl UnwindSafe for CoverageSource
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