Struct tower_web::extract::Context[][src]

pub struct Context<'a> { /* fields omitted */ }

Context available when extracting data from the HTTP request.

Primarily, Context includes a reference to the HTTP request in question.

Methods

impl<'a> Context<'a>
[src]

Returns a reference to the HTTP request from which the data should be extracted.

Returns the stored configuration value of type T.

Trait Implementations

impl<'a> Debug for Context<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Context<'a>

impl<'a> Sync for Context<'a>