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

EzAwAtomAtomcatAtomsvcCcxmlCdmiaCdmicCdmidCdmioCdmiqCuDavmountDbkDsscXdsscEcmaEmmaEpubExiPfrGmlGpxGxfStkInkIpfixJarSerClassJsJsonJsonmlLostxmlHqxCptMadsMrcMrcxMaMathmlMboxMscmlMetalinkMeta4MetsModsM21Mp4sDocMxfBinOdaOpfOgxOmdocOnetocOxpsXerPdfPgpAscPrfP10P7mP7sP8AcCerCrlPkipathPkiPlsAiCwwPskcxmlRdfRifRncRlRldRsGbrMftRoaRsdRssRtfSbmlScqScsSpqSppSdpSetpaySetregShfSmiRqSrxGramGrxmlSruSsdlSsmlTeiTfiTsdPlbPsbPvbTcapPwnAsoImpAcuAtcAirFcdtFxpXdpXfdfAheadAzfAzsAzwAccAmiApkCiiFtiAtxMpkgM3u8SwiIotaAepMpmBmiRepCdxmlMmdCdyClaRp9C4gC11amcC11amzCspCdbcmsgCmcClkxClkkClkpClktClkwWbsPmlPpdCarPcurlDartRdzUvfUvtUvxUvzFe_launchDnaMlpDpgDfacKpxxAitSvcGeoMagNmlEsfMsfQamSltSsfEs3Ez2Ez3FdfMseedSeedGphFtcFmFncLtfFscOasOa2Oa3Fg5Bh2DddXdwXbdFzsTxdGgbGgtGexGxtG2wG3wGmxKmlKmzGqfGacGhfGimGrvGtmTplVcgHalHalXmlHalVndZmmHbciLesHpglHpidHpsJltPclPclxlSfd_hdstxMpyAfpIrmScIccIglIvpIvuIgmXpwI2gQboQfxRcprofileIrpXprFcsJamRmsJispJodaKtzKarbonChrtKfoFlwKonKprKspKwdHtkeKiaKneSkpSseLasxmlLbdLbeMedia123AprPreNsfOrgScmLwpPortpkgMcdMc1CdkeyMwfMfmFloIgxMifDafDisMbkMqyMslPlcTxfMpnMpcXulCilCabXlsXlamXlsbXlsmXltmEotChmImsLrmThmxCatStlPptPpamPptmSldmPpsmPotmMppDocmDotmWpsWplXpsMseqMusMstyTagletNluNtfNndNnsNnwNgdatN_gageRpstRpssEdmEdxExtOdcOtcOdbOdfOdftOdgOtgOdiOtiOdpOtpOdsOtsOdtOdmOttOthXoDd2OxtPptxSldxPpsxPotxXlsxXltxDocxDotxMgpDpEsaPdbPawStrEi6EfifWgPlfPbdBoxMgzQpsPtidQxdBedMxlMusicxmlCryptonoteCodRmRmvbLink66StSeeSemaSemdSemfIfmItpIifIpkTwdMmfTeacherSdkmDxpSfsSdcSdaSddSmfSdwSglSmzipSmSxcStcSxdStdSxiStiSxmSxwSxgStwSusSvdSisXsmBdmXdmTaoPcapTmoTptMxsTraUfdUtzUmjUnitywebUomlVcxVsdVisVsfWbxmlWmlcWmlscWtbNbpWpdWqdStfXarXfdlHvdHvsHvpOsfOsfpvgSafSpfCmpZirZazVxmlWgtHlpWsdlWspolicyMedia7zAbwAceDmgAabAamAasBcpioTorrentBlbBzBz2CbrVcdCfsChatPgnNscCpioCshDebDgcDirWadNcxDtbResDviEvyEvaBdfGsfPsfOtfPcfSnfTtfPfaWoffArcSplGcaUlxGnumericGrampsGtarHdfInstallIsoJnlpLatexLzhMiePrcApplicationLnkWmdWmzXbapMdbObdCrdClpExeMvbWmfMnyPubScdTrmWriNcNzbP12P7bP7rRarRisShSharSwfXapSqlSitSitxSrtSv4cpioSv4crcT3GamTarTclTexTfmTexinfoObjUstarSrcDerFigXlfXpiXzZ1XamlXdfXencXhtmlXmlDtdXopXplXsltXspfMxmlYangYinZipAdpAuMidMp4aMpgaOgaS3mSilUvaEolDraDtsDtshdLvpPyaEcelp4800Ecelp7470Ecelp9600RipWebaAacAifCafFlacMkaM3uWaxWmaRamRmpWavXmCdxCifCmdfCmlCsmlXyzBmpCgmG3GifIefJpegKtxPngBtifSgiSvgTiffPsdUviSubDjvuDwgDxfFbsFpxFstMmrRlcMdiWdpNpxWbmpXifWebpMedia3dsRasCmxFhIcoSidPcxPicPnmPbmPgmPpmRgbTgaXbmXpmXwdEmlIgsMshDaeDwfGdlGtwMtsVtuWrlX3dbX3dvX3dAppcacheIcsCssCsvHtmlN3TxtDscRtxSgmlTsvTTtlUriVcardCurlDcurlScurlMcurlFlyFlxGvMedia3dmlSpotJadWmlWmlsSCFJavaOpmlPNfoEtxSfvUuVcsVcfMedia3gpMedia3g2H261H263H264JpgvJpmMj2Mp4MpegOgvQtUvhUvmUvpUvsUvvDvbFvtMxuPyvUvuVivWebmF4vFliFlvM4vMkvMngAsfVobWmWmvWmxWvxAviMovieSmvIce

Trait Implementations

impl<'a, D> Modifier<Response<'a, D>> for MediaType
[src]

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

Modify F with self.

impl Clone for MediaType
[src]

fn clone(&self) -> MediaType

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for MediaType
[src]

impl Hash for MediaType
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl Eq for MediaType
[src]

impl PartialEq for MediaType
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for MediaType
[src]

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

Formats the value using the given formatter.

impl FromStr for MediaType
[src]

type Err = &'static str

The associated error which can be returned from parsing.

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

Parses a string s to return a value of this type. Read more