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]

[src]

Formats the value using the given formatter. Read more

impl Copy for Reset
[src]

impl Clone for Reset
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Reset
[src]

[src]

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

1.0.0
[src]

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.

[src]

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