Trait vapcore_light::request::CheckedRequest [−][src]
A request which can be checked against its response for more validity.
Associated Types
type Extract
[src]
Data extracted during the check.
type Error
[src]
Error encountered during the check.
type Environment
[src]
Environment passed to response check.
Required methods
fn check_response(
&self,
_: &Self::Complete,
_: &Self::Environment,
_: &Self::Response
) -> Result<Self::Extract, Self::Error>
[src]
&self,
_: &Self::Complete,
_: &Self::Environment,
_: &Self::Response
) -> Result<Self::Extract, Self::Error>
Check whether the response matches (beyond the type).
Implementors
impl CheckedRequest for CheckedRequest
[src]
type Extract = Response
type Error = Error
type Environment = Mutex<Cache>
fn check_response(
&self,
complete: &Self::Complete,
cache: &Mutex<Cache>,
response: &Self::Response
) -> Result<Response, Error>
[src]
&self,
complete: &Self::Complete,
cache: &Mutex<Cache>,
response: &Self::Response
) -> Result<Response, Error>
Check whether the response matches (beyond the type).