Enum rocket_file_cache::ResponderFile [] [src]

pub enum ResponderFile {
    Cached(CachedFile),
    FileSystem(NamedFile),
}

Wrapper around types that represent files and implement Responder<'static>.

Variants

Trait Implementations

impl Debug for ResponderFile
[src]

[src]

Formats the value using the given formatter.

impl From<CachedFile> for ResponderFile
[src]

[src]

Performs the conversion.

impl From<NamedFile> for ResponderFile
[src]

[src]

Performs the conversion.

impl Responder<'static> for ResponderFile
[src]

[src]

Returns Ok if a Response could be generated successfully. Otherwise, returns an Err with a failing Status. Read more

impl PartialEq for ResponderFile
[src]

[src]

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

1.0.0
[src]

This method tests for !=.