Searched refs:RpcStatusCode (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/grpcio/src/call/ |
D | mod.rs | 28 pub struct RpcStatusCode(i32); struct 30 impl From<i32> for RpcStatusCode { implementation 31 fn from(code: i32) -> RpcStatusCode { in from() argument 32 RpcStatusCode(code) in from() 36 impl From<RpcStatusCode> for i32 { 37 fn from(code: RpcStatusCode) -> i32 { in from() 42 impl Display for RpcStatusCode { implementation 54 impl RpcStatusCode { impl 56 pub const $konst: RpcStatusCode = RpcStatusCode($num); 60 impl Debug for RpcStatusCode { [all …]
|
D | server.rs | 23 BatchContext, Call, MessageReader, MethodType, RpcStatusCode, SinkBase, StreamingBase, 255 let status = RpcStatus::new(RpcStatusCode::INTERNAL, Some("No payload".to_owned())); in handle() 707 RpcStatusCode::INTERNAL, in execute_unary() 753 RpcStatusCode::INTERNAL, in execute_server_streaming() 789 call.abort(&RpcStatus::new(RpcStatusCode::UNIMPLEMENTED, None)) in execute_unimplemented()
|
/external/rust/crates/grpcio/src/task/ |
D | promise.rs | 7 use crate::call::{BatchContext, MessageReader, RpcStatusCode}; 60 if status.status == RpcStatusCode::OK { in finish_response() 76 if status.status == RpcStatusCode::OK { in handle_unary_response()
|
/external/rust/crates/grpcio/src/ |
D | lib.rs | 56 pub use crate::call::{MessageReader, Method, MethodType, RpcStatus, RpcStatusCode, WriteFlags};
|