Struct rocket::response::status::Reset[][src]

pub struct Reset;

Sets the status of the response to 205 (Reset Content).


use rocket::response::status;

let response = status::Reset;

Trait Implementations

impl Debug for Reset

Formats the value using the given formatter. Read more

impl Copy for Reset

impl Clone for Reset

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Reset

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

This method tests for !=.

impl Responder<'static> for Reset

Sets the status code of the response to 205 Reset Content. The body of the response will be empty.

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

Auto Trait Implementations

impl Send for Reset

impl Sync for Reset