[][src]Struct milstian_internet_framework::response::tcp::http::filesystem::Responder

pub struct Responder {
    pub filename: Option<String>,
}

Fields

filename: Option<String>

Methods

impl Responder[src]

pub fn new() -> Responder[src]

pub fn get_metadata_modified_as_rfc7231(modified: SystemTime) -> String[src]

pub fn get_rfc7231_as_systemtime(
    modified: &String
) -> Result<SystemTime, String>
[src]

pub fn get_modified_hash(data: &SystemTime) -> String[src]

pub fn get_cache_control(_application: &Application) -> String[src]

pub fn get_matching_filename(
    request_message: &Message,
    application: &Application
) -> Option<String>
[src]

pub fn get_response(
    filename: &String,
    request_message: &Message,
    application: &Application
) -> Result<Message, String>
[src]

Trait Implementations

impl ResponderInterface for Responder[src]

impl Clone for Responder[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Responder

impl Sync for Responder

Blanket Implementations

impl<T> ResponderInterfaceCopy for T where
    T: 'static + ResponderInterface + Clone + Send
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]