Struct grpcio::RpcStatusCode [−][src]
An gRPC status code structure. This type contains constants for all gRPC status codes.
Implementations
impl RpcStatusCode
[src]
pub const OK: RpcStatusCode
[src]
pub const CANCELLED: RpcStatusCode
[src]
pub const UNKNOWN: RpcStatusCode
[src]
pub const INVALID_ARGUMENT: RpcStatusCode
[src]
pub const DEADLINE_EXCEEDED: RpcStatusCode
[src]
pub const NOT_FOUND: RpcStatusCode
[src]
pub const ALREADY_EXISTS: RpcStatusCode
[src]
pub const PERMISSION_DENIED: RpcStatusCode
[src]
pub const RESOURCE_EXHAUSTED: RpcStatusCode
[src]
pub const FAILED_PRECONDITION: RpcStatusCode
[src]
pub const ABORTED: RpcStatusCode
[src]
pub const OUT_OF_RANGE: RpcStatusCode
[src]
pub const UNIMPLEMENTED: RpcStatusCode
[src]
pub const INTERNAL: RpcStatusCode
[src]
pub const UNAVAILABLE: RpcStatusCode
[src]
pub const DATA_LOSS: RpcStatusCode
[src]
pub const UNAUTHENTICATED: RpcStatusCode
[src]
pub const DO_NOT_USE: RpcStatusCode
[src]
Trait Implementations
impl Clone for RpcStatusCode
[src]
fn clone(&self) -> RpcStatusCode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RpcStatusCode
[src]
impl Debug for RpcStatusCode
[src]
impl Display for RpcStatusCode
[src]
impl Eq for RpcStatusCode
[src]
impl From<i32> for RpcStatusCode
[src]
fn from(code: i32) -> RpcStatusCode
[src]
impl PartialEq<RpcStatusCode> for RpcStatusCode
[src]
fn eq(&self, other: &RpcStatusCode) -> bool
[src]
fn ne(&self, other: &RpcStatusCode) -> bool
[src]
impl StructuralEq for RpcStatusCode
[src]
impl StructuralPartialEq for RpcStatusCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for RpcStatusCode
impl Send for RpcStatusCode
impl Sync for RpcStatusCode
impl Unpin for RpcStatusCode
impl UnwindSafe for RpcStatusCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,