Struct light_pencil::Pencil [] [src]

pub struct Pencil {
    pub root_path: String,
    pub name: String,
    pub static_folder: String,
    pub static_url_path: String,
    pub template_folder: String,
    pub extensions: ShareMap,
    pub url_map: Map,
    // some fields omitted
}

Fields

Methods

impl Pencil
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Handler for Pencil
[src]

[src]

Receives a Request/Response pair, and should perform some action on them. Read more

[src]

Called when a Request includes a Expect: 100-continue header. Read more

[src]

This is run after a connection is received, on a per-connection basis (not a per-request basis, as a connection with keep-alive may handle multiple requests) Read more

[src]

This is run before a connection is closed, on a per-connection basis (not a per-request basis, as a connection with keep-alive may handle multiple requests) Read more

impl PathBound for Pencil
[src]

[src]

impl Display for Pencil
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for Pencil
[src]

[src]

Formats the value using the given formatter.