Enum proxy_wasm::types::GrpcStatusCode
source · #[non_exhaustive]#[repr(u32)]pub enum GrpcStatusCode {
Show 17 variants
Ok = 0,
Cancelled = 1,
Unknown = 2,
InvalidArgument = 3,
DeadlineExceeded = 4,
NotFound = 5,
AlreadyExists = 6,
PermissionDenied = 7,
ResourceExhausted = 8,
FailedPrecondition = 9,
Aborted = 10,
OutOfRange = 11,
Unimplemented = 12,
Internal = 13,
Unavailable = 14,
DataLoss = 15,
Unauthenticated = 16,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok = 0
Cancelled = 1
Unknown = 2
InvalidArgument = 3
DeadlineExceeded = 4
NotFound = 5
AlreadyExists = 6
PermissionDenied = 7
ResourceExhausted = 8
FailedPrecondition = 9
Aborted = 10
OutOfRange = 11
Unimplemented = 12
Internal = 13
DataLoss = 15
Unauthenticated = 16
Trait Implementations§
source§impl Clone for GrpcStatusCode
impl Clone for GrpcStatusCode
source§fn clone(&self) -> GrpcStatusCode
fn clone(&self) -> GrpcStatusCode
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 GrpcStatusCode
impl Debug for GrpcStatusCode
source§impl Hash for GrpcStatusCode
impl Hash for GrpcStatusCode
source§impl PartialEq for GrpcStatusCode
impl PartialEq for GrpcStatusCode
impl Copy for GrpcStatusCode
impl Eq for GrpcStatusCode
impl StructuralPartialEq for GrpcStatusCode
Auto Trait Implementations§
impl Freeze for GrpcStatusCode
impl RefUnwindSafe for GrpcStatusCode
impl Send for GrpcStatusCode
impl Sync for GrpcStatusCode
impl Unpin for GrpcStatusCode
impl UnwindSafe for GrpcStatusCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)