Enum stream_httparse::StatusCode [−][src]
pub enum StatusCode {}Show variants
Continue, SwitchingProtocols, OK, Created, Accepted, NonAuthoritativeInformation, NoContent, ResetContent, PartialContent, MultipleChoices, MovedPermanently, Found, SeeOther, NotModified, UseProxy, TemporaryRedirect, BadRequest, Unauthorized, PaymentRequired, Forbidden, NotFound, MethodNotAllowed, NotAcceptable, ProxyAuthenticationRequired, RequestTimeOut, Conflict, Gone, LengthRequired, PreconditionFailed, RequestEntityTooLarge, RequestURITooLarge, UnsupportedMediaType, RequestedRangeNotSatisfiable, ExpectationFailed, ImATeapot, InternalServerError, NotImplemented, BadGateway, ServiceUnavailable, GatewayTimeout, HTTPVersionNotSupported,
Expand description
Represents all the known and defined StatusCodes
Variants
The Request should be continued by the Client
The Server acknowledges and accepts the Request to switch to another Protocol
The Request has successfully been processed
The Request successfully created a new Ressource
The Request was successfully accpeted to be processed but has not been completed yet
The returned Metainformation was not returned by the Origin-Server
The Request was successful but there is no Data returned
The Request has been successfully fulfilled and the Client can clear its input Content
The requested partial Data has been fulfilled
The requested Ressource corresponds multiple Ressources
The Requested Data was moved to another URI
The requested Ressource temporarily resides under a different URI
The Response to this Request can be found at a different URI
The requested Ressource was not modified between the last Request and now
The Ressource can only be accessed through a Proxy
The requested Ressource temporarily resides under a different URI
The Request was not properly send or received
The Request tried to access something it is not authorized to do
Reserved for future use
The requested Ressource is not allowed to be accessed
The requested Ressource could not be found
The requested Method is not allowed for the specified Ressource
The Ressource is not capable of accepting the Request
The Client should first Authenticate with a Proxy and before attempting the Request again
The Server decided that the Client took to long and the Request timed out
Request could not complete because there was a conflict current State of the Ressource
The Ressource is no longer available
The Server only accepts Requests where the Content-Length is set
The given Precondition failed
The Request-Entity was larger than what the Server allows
The URI is longer than what the Server allows
The Media-Type is not supported by the Server for this ressource
The Requested Range could not be satisfied by the Server
The given Expectation has failed
An April Fool’s Status-Code that some servers use for a variety of Situations
The Server Processing encountered some internal Problem and could not process the Request
Some requested Functionality is not implemented on the Server
An Error occured at a Gateway while sending the Request to the Target-Server
The requested Service is currently unavailable
The Gateway did not received a Response in time
The requested HTTP-Version is not supported by the Server
Implementations
impl StatusCode
[src]
impl StatusCode
[src]impl StatusCode
[src]
impl StatusCode
[src]pub fn wasm_deserialize(key: i32) -> Option<Self>
[src]
pub fn wasm_deserialize(key: i32) -> Option<Self>
[src]Deserializes the i32 Value to a StatusCode for easier exchange between WASM and the Host
pub fn wasm_serialize(&self) -> i32
[src]
pub fn wasm_serialize(&self) -> i32
[src]Serializes the given StatusCode to a simple i32 Value, which makes it easier to exchange between a WASM module and its host
Trait Implementations
impl Debug for StatusCode
[src]
impl Debug for StatusCode
[src]impl PartialEq<StatusCode> for StatusCode
[src]
impl PartialEq<StatusCode> for StatusCode
[src]