Skip to main content

Media

Trait Media 

Source
pub trait Media: Sealed {
    const EXTENSION: &'static str;
}
Expand description

A kind of blob a trace stores. Sealed: the format has exactly these.

Required Associated Constants§

Source

const EXTENSION: &'static str

The file extension of its members under blobs/.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Media for Png

Source§

const EXTENSION: &'static str = "png"

Source§

impl Media for Yaml

Source§

const EXTENSION: &'static str = "yaml"