Enum sentry_cloudflare::Status
source · pub enum Status {
Show 17 variants
Ok,
DeadlineExceeded,
Unauthenticated,
PermissionDenied,
NotFound,
ResourceExhausted,
InvalidArgument,
Unimplemented,
Unavailable,
InternalError,
UnknownError,
Cancelled,
AlreadyExists,
FailedPrecondition,
Aborted,
OutOfRange,
DataLoss,
}
Variants§
Ok
The operation completed successfully.
DeadlineExceeded
Deadline expired before operation could complete.
Unauthenticated
401 Unauthorized (actually does mean unauthenticated according to RFC 7235)
PermissionDenied
403 Forbidden
NotFound
404 Not Found. Some requested entity (file or directory) was not found.
ResourceExhausted
429 Too Many Requests
InvalidArgument
Client specified an invalid argument. 4xx.
Unimplemented
501 Not Implemented
503 Service Unavailable
InternalError
Other/generic 5xx.
UnknownError
Unknown. Any non-standard HTTP status code.
Cancelled
The operation was cancelled (typically by the user).
AlreadyExists
Already exists (409)
FailedPrecondition
Operation was rejected because the system is not in a state required for the operation’s
Aborted
The operation was aborted, typically due to a concurrency issue.
OutOfRange
Operation was attempted past the valid range.
DataLoss
Unrecoverable data loss or corruption
Trait Implementations§
source§impl Clone for SpanStatus
impl Clone for SpanStatus
source§fn clone(&self) -> SpanStatus
fn clone(&self) -> SpanStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SpanStatus
impl Debug for SpanStatus
source§impl From<u16> for SpanStatus
impl From<u16> for SpanStatus
source§impl Hash for SpanStatus
impl Hash for SpanStatus
source§impl PartialEq<SpanStatus> for SpanStatus
impl PartialEq<SpanStatus> for SpanStatus
source§fn eq(&self, other: &SpanStatus) -> bool
fn eq(&self, other: &SpanStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.