typed_headers/content_type/video

Types

pub type Video {
  RAW
  MP4
  MPV
  WEBM
  WEBMWithCodecs(List(WEBMCodec))
  Custom(String)
}

Constructors

  • RAW
  • MP4
  • MPV
  • WEBM
  • WEBMWithCodecs(List(WEBMCodec))
  • Custom(String)
pub type WEBMCodec {
  VP8
  VP80
}

Constructors

  • VP8
  • VP80

Constants

pub const type_name: String = "video"

Functions

pub fn to_string(ct: Video) -> String
Search Document