Enum nickel::mimes::MediaType [] [src]

pub enum MediaType {
    Ez,
    Aw,
    Atom,
    Atomcat,
    Atomsvc,
    Ccxml,
    Cdmia,
    Cdmic,
    Cdmid,
    Cdmio,
    Cdmiq,
    Cu,
    Davmount,
    Dbk,
    Dssc,
    Xdssc,
    Ecma,
    Emma,
    Epub,
    Exi,
    Pfr,
    Gml,
    Gpx,
    Gxf,
    Stk,
    Ink,
    Ipfix,
    Jar,
    Ser,
    Class,
    Js,
    Json,
    Jsonml,
    Lostxml,
    Hqx,
    Cpt,
    Mads,
    Mrc,
    Mrcx,
    Ma,
    Mathml,
    Mbox,
    Mscml,
    Metalink,
    Meta4,
    Mets,
    Mods,
    M21,
    Mp4s,
    Doc,
    Mxf,
    Bin,
    Oda,
    Opf,
    Ogx,
    Omdoc,
    Onetoc,
    Oxps,
    Xer,
    Pdf,
    Pgp,
    Asc,
    Prf,
    P10,
    P7m,
    P7s,
    P8,
    Ac,
    Cer,
    Crl,
    Pkipath,
    Pki,
    Pls,
    Ai,
    Cww,
    Pskcxml,
    Rdf,
    Rif,
    Rnc,
    Rl,
    Rld,
    Rs,
    Gbr,
    Mft,
    Roa,
    Rsd,
    Rss,
    Rtf,
    Sbml,
    Scq,
    Scs,
    Spq,
    Spp,
    Sdp,
    Setpay,
    Setreg,
    Shf,
    Smi,
    Rq,
    Srx,
    Gram,
    Grxml,
    Sru,
    Ssdl,
    Ssml,
    Tei,
    Tfi,
    Tsd,
    Plb,
    Psb,
    Pvb,
    Tcap,
    Pwn,
    Aso,
    Imp,
    Acu,
    Atc,
    Air,
    Fcdt,
    Fxp,
    Xdp,
    Xfdf,
    Ahead,
    Azf,
    Azs,
    Azw,
    Acc,
    Ami,
    Apk,
    Cii,
    Fti,
    Atx,
    Mpkg,
    M3u8,
    Swi,
    Iota,
    Aep,
    Mpm,
    Bmi,
    Rep,
    Cdxml,
    Mmd,
    Cdy,
    Cla,
    Rp9,
    C4g,
    C11amc,
    C11amz,
    Csp,
    Cdbcmsg,
    Cmc,
    Clkx,
    Clkk,
    Clkp,
    Clkt,
    Clkw,
    Wbs,
    Pml,
    Ppd,
    Car,
    Pcurl,
    Dart,
    Rdz,
    Uvf,
    Uvt,
    Uvx,
    Uvz,
    Fe_launch,
    Dna,
    Mlp,
    Dpg,
    Dfac,
    Kpxx,
    Ait,
    Svc,
    Geo,
    Mag,
    Nml,
    Esf,
    Msf,
    Qam,
    Slt,
    Ssf,
    Es3,
    Ez2,
    Ez3,
    Fdf,
    Mseed,
    Seed,
    Gph,
    Ftc,
    Fm,
    Fnc,
    Ltf,
    Fsc,
    Oas,
    Oa2,
    Oa3,
    Fg5,
    Bh2,
    Ddd,
    Xdw,
    Xbd,
    Fzs,
    Txd,
    Ggb,
    Ggt,
    Gex,
    Gxt,
    G2w,
    G3w,
    Gmx,
    Kml,
    Kmz,
    Gqf,
    Gac,
    Ghf,
    Gim,
    Grv,
    Gtm,
    Tpl,
    Vcg,
    Hal,
    HalXml,
    HalVnd,
    Zmm,
    Hbci,
    Les,
    Hpgl,
    Hpid,
    Hps,
    Jlt,
    Pcl,
    Pclxl,
    Sfd_hdstx,
    Mpy,
    Afp,
    Irm,
    Sc,
    Icc,
    Igl,
    Ivp,
    Ivu,
    Igm,
    Xpw,
    I2g,
    Qbo,
    Qfx,
    Rcprofile,
    Irp,
    Xpr,
    Fcs,
    Jam,
    Rms,
    Jisp,
    Joda,
    Ktz,
    Karbon,
    Chrt,
    Kfo,
    Flw,
    Kon,
    Kpr,
    Ksp,
    Kwd,
    Htke,
    Kia,
    Kne,
    Skp,
    Sse,
    Lasxml,
    Lbd,
    Lbe,
    Media123,
    Apr,
    Pre,
    Nsf,
    Org,
    Scm,
    Lwp,
    Portpkg,
    Mcd,
    Mc1,
    Cdkey,
    Mwf,
    Mfm,
    Flo,
    Igx,
    Mif,
    Daf,
    Dis,
    Mbk,
    Mqy,
    Msl,
    Plc,
    Txf,
    Mpn,
    Mpc,
    Xul,
    Cil,
    Cab,
    Xls,
    Xlam,
    Xlsb,
    Xlsm,
    Xltm,
    Eot,
    Chm,
    Ims,
    Lrm,
    Thmx,
    Cat,
    Stl,
    Ppt,
    Ppam,
    Pptm,
    Sldm,
    Ppsm,
    Potm,
    Mpp,
    Docm,
    Dotm,
    Wps,
    Wpl,
    Xps,
    Mseq,
    Mus,
    Msty,
    Taglet,
    Nlu,
    Ntf,
    Nnd,
    Nns,
    Nnw,
    Ngdat,
    N_gage,
    Rpst,
    Rpss,
    Edm,
    Edx,
    Ext,
    Odc,
    Otc,
    Odb,
    Odf,
    Odft,
    Odg,
    Otg,
    Odi,
    Oti,
    Odp,
    Otp,
    Ods,
    Ots,
    Odt,
    Odm,
    Ott,
    Oth,
    Xo,
    Dd2,
    Oxt,
    Pptx,
    Sldx,
    Ppsx,
    Potx,
    Xlsx,
    Xltx,
    Docx,
    Dotx,
    Mgp,
    Dp,
    Esa,
    Pdb,
    Paw,
    Str,
    Ei6,
    Efif,
    Wg,
    Plf,
    Pbd,
    Box,
    Mgz,
    Qps,
    Ptid,
    Qxd,
    Bed,
    Mxl,
    Musicxml,
    Cryptonote,
    Cod,
    Rm,
    Rmvb,
    Link66,
    St,
    See,
    Sema,
    Semd,
    Semf,
    Ifm,
    Itp,
    Iif,
    Ipk,
    Twd,
    Mmf,
    Teacher,
    Sdkm,
    Dxp,
    Sfs,
    Sdc,
    Sda,
    Sdd,
    Smf,
    Sdw,
    Sgl,
    Smzip,
    Sm,
    Sxc,
    Stc,
    Sxd,
    Std,
    Sxi,
    Sti,
    Sxm,
    Sxw,
    Sxg,
    Stw,
    Sus,
    Svd,
    Sis,
    Xsm,
    Bdm,
    Xdm,
    Tao,
    Pcap,
    Tmo,
    Tpt,
    Mxs,
    Tra,
    Ufd,
    Utz,
    Umj,
    Unityweb,
    Uoml,
    Vcx,
    Vsd,
    Vis,
    Vsf,
    Wbxml,
    Wmlc,
    Wmlsc,
    Wtb,
    Nbp,
    Wpd,
    Wqd,
    Stf,
    Xar,
    Xfdl,
    Hvd,
    Hvs,
    Hvp,
    Osf,
    Osfpvg,
    Saf,
    Spf,
    Cmp,
    Zir,
    Zaz,
    Vxml,
    Wgt,
    Hlp,
    Wsdl,
    Wspolicy,
    Media7z,
    Abw,
    Ace,
    Dmg,
    Aab,
    Aam,
    Aas,
    Bcpio,
    Torrent,
    Blb,
    Bz,
    Bz2,
    Cbr,
    Vcd,
    Cfs,
    Chat,
    Pgn,
    Nsc,
    Cpio,
    Csh,
    Deb,
    Dgc,
    Dir,
    Wad,
    Ncx,
    Dtb,
    Res,
    Dvi,
    Evy,
    Eva,
    Bdf,
    Gsf,
    Psf,
    Otf,
    Pcf,
    Snf,
    Ttf,
    Pfa,
    Woff,
    Arc,
    Spl,
    Gca,
    Ulx,
    Gnumeric,
    Gramps,
    Gtar,
    Hdf,
    Install,
    Iso,
    Jnlp,
    Latex,
    Lzh,
    Mie,
    Prc,
    Application,
    Lnk,
    Wmd,
    Wmz,
    Xbap,
    Mdb,
    Obd,
    Crd,
    Clp,
    Exe,
    Mvb,
    Wmf,
    Mny,
    Pub,
    Scd,
    Trm,
    Wri,
    Nc,
    Nzb,
    P12,
    P7b,
    P7r,
    Rar,
    Ris,
    Sh,
    Shar,
    Swf,
    Xap,
    Sql,
    Sit,
    Sitx,
    Srt,
    Sv4cpio,
    Sv4crc,
    T3,
    Gam,
    Tar,
    Tcl,
    Tex,
    Tfm,
    Texinfo,
    Obj,
    Ustar,
    Src,
    Der,
    Fig,
    Xlf,
    Xpi,
    Xz,
    Z1,
    Xaml,
    Xdf,
    Xenc,
    Xhtml,
    Xml,
    Dtd,
    Xop,
    Xpl,
    Xslt,
    Xspf,
    Mxml,
    Yang,
    Yin,
    Zip,
    Adp,
    Au,
    Mid,
    Mp4a,
    Mpga,
    Oga,
    S3m,
    Sil,
    Uva,
    Eol,
    Dra,
    Dts,
    Dtshd,
    Lvp,
    Pya,
    Ecelp4800,
    Ecelp7470,
    Ecelp9600,
    Rip,
    Weba,
    Aac,
    Aif,
    Caf,
    Flac,
    Mka,
    M3u,
    Wax,
    Wma,
    Ram,
    Rmp,
    Wav,
    Xm,
    Cdx,
    Cif,
    Cmdf,
    Cml,
    Csml,
    Xyz,
    Bmp,
    Cgm,
    G3,
    Gif,
    Ief,
    Jpeg,
    Ktx,
    Png,
    Btif,
    Sgi,
    Svg,
    Tiff,
    Psd,
    Uvi,
    Sub,
    Djvu,
    Dwg,
    Dxf,
    Fbs,
    Fpx,
    Fst,
    Mmr,
    Rlc,
    Mdi,
    Wdp,
    Npx,
    Wbmp,
    Xif,
    Webp,
    Media3ds,
    Ras,
    Cmx,
    Fh,
    Ico,
    Sid,
    Pcx,
    Pic,
    Pnm,
    Pbm,
    Pgm,
    Ppm,
    Rgb,
    Tga,
    Xbm,
    Xpm,
    Xwd,
    Eml,
    Igs,
    Msh,
    Dae,
    Dwf,
    Gdl,
    Gtw,
    Mts,
    Vtu,
    Wrl,
    X3db,
    X3dv,
    X3d,
    Appcache,
    Ics,
    Css,
    Csv,
    Html,
    N3,
    Txt,
    Dsc,
    Rtx,
    Sgml,
    Tsv,
    T,
    Ttl,
    Uri,
    Vcard,
    Curl,
    Dcurl,
    Scurl,
    Mcurl,
    Fly,
    Flx,
    Gv,
    Media3dml,
    Spot,
    Jad,
    Wml,
    Wmls,
    S,
    C,
    F,
    Java,
    Opml,
    P,
    Nfo,
    Etx,
    Sfv,
    Uu,
    Vcs,
    Vcf,
    Media3gp,
    Media3g2,
    H261,
    H263,
    H264,
    Jpgv,
    Jpm,
    Mj2,
    Mp4,
    Mpeg,
    Ogv,
    Qt,
    Uvh,
    Uvm,
    Uvp,
    Uvs,
    Uvv,
    Dvb,
    Fvt,
    Mxu,
    Pyv,
    Uvu,
    Viv,
    Webm,
    F4v,
    Fli,
    Flv,
    M4v,
    Mkv,
    Mng,
    Asf,
    Vob,
    Wm,
    Wmv,
    Wmx,
    Wvx,
    Avi,
    Movie,
    Smv,
    Ice,
}

Variants

Ez
Aw
Atom
Atomcat
Atomsvc
Ccxml
Cdmia
Cdm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h
Dae
Dwf
Gdl
Gtw
Mts
Vtu
Wrl
X3db
X3dv
X3d
Appcache
Ics
Css
Csv
Html
N3
Txt
Dsc
Rtx
Sgml
Tsv
T
Ttl
Uri
Vcard
Curl
Dcurl
Scurl
Mcurl
Fly
Flx
Gv
Media3dml
Spot
Jad
Wml
Wmls
S
C
F
Java
Opml
P
Nfo
Etx
Sfv
Uu
Vcs
Vcf
Media3gp
Media3g2
H261
H263
H264
Jpgv
Jpm
Mj2
Mp4
Mpeg
Ogv
Qt
Uvh
Uvm
Uvp
Uvs
Uvv
Dvb
Fvt
Mxu
Pyv
Uvu
Viv
Webm
F4v
Fli
Flv
M4v
Mkv
Mng
Asf
Vob
Wm
Wmv
Wmx
Wvx
Avi
Movie
Smv
Ice

Trait Implementations

impl<'a, D> Modifier<Response<'a, D>> for MediaType

fn modify(self, res: &mut Response<'a, D>)

impl FromStr for MediaType

type Err = &'static str

fn from_str(s: &str) -> Result<MediaType, &'static str>

Derived Implementations

impl Clone for MediaType

fn clone(&self) -> MediaType

fn clone_from(&mut self, source: &Self)

impl Copy for MediaType

impl Hash for MediaType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for MediaType

impl PartialEq for MediaType

fn eq(&self, __arg_0: &MediaType) -> bool

fn ne(&self, __arg_0: &MediaType) -> bool

impl Debug for MediaType

fn fmt(&self, __arg_0: &mut Formatter) -> Result