Struct fastly_shared::FastlyStatus [−][src]
#[repr(transparent)]pub struct FastlyStatus { pub code: i32, }
Fields
code: i32Implementations
Generic error value.
This means that some unexpected error occured during a hostcall.
Invalid handle.
Thrown when a request, response, or body handle is not valid.
Unsupported operation error.
This error is thrown when some operation cannot be performed, because it is not supported.
Alignment error.
This is thrown when a pointer does not point to a properly aligned slice of memory.
👎 Deprecated since 0.6.1: Please use the equivalent HTTPINVALID constant instead
Please use the equivalent HTTPINVALID constant instead
HTTP parse error.
This can be thrown when a method, URI, or header is not valid.
Invalid HTTP error.
This can be thrown when a method, URI, or header is not valid.
HTTP user error.
This is thrown in cases where user code caused an HTTP error. For example, attempt to send
a 1xx response code, or a request with a non-absolute URI. This can also be caused by
an unexpected header: both content-length and transfer-encoding, for example.
HTTP incomplete message error.
This can be thrown when a stream ended unexpectedly.
A None error.
This status code is used to indicate when an optional value did not exist, as opposed to an empty value.
HTTP head too large error.
This error will be thrown when the message head is too large.
HTTP invalid status error.
This error will be thrown when the HTTP message contains an invalid status code.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for FastlyStatusimpl Send for FastlyStatusimpl Sync for FastlyStatusimpl Unpin for FastlyStatusimpl UnwindSafe for FastlyStatusBlanket Implementations
Mutably borrows from an owned value. Read more