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

pub struct Reset;

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

Example

use rocket::response::status;

let response = status::Reset;

Trait Implementations

impl Debug for Reset
[src]

Formats the value using the given formatter.

impl Copy for Reset
[src]

impl Clone for Reset
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Reset
[src]

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
[src]

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