Searched refs:kind (Results 1 – 9 of 9) sorted by relevance
| /tonic/tonic/src/ |
| H A D | body.rs | 13 kind: Kind, field 23 fn from_kind(kind: Kind) -> Self { in from_kind() 24 Self { kind } in from_kind() 29 Self { kind: Kind::Empty } in empty() 75 match &mut self.kind { in poll_frame() 82 match &self.kind { in size_hint() 89 match &self.kind { in is_end_stream()
|
| H A D | status.rs | 688 let code = match err.kind() { in from()
|
| /tonic/tonic/src/transport/ |
| H A D | error.rs | 11 kind: Kind, field 25 pub(crate) fn new(kind: Kind) -> Self { in new() 27 inner: ErrorImpl { kind, source: None }, in new() 51 match &self.inner.kind { in description() 65 f.field(&self.inner.kind); in fmt()
|
| /tonic/tonic/src/service/ |
| H A D | interceptor.rs | 169 kind: Kind<F>, field 175 kind: Kind::Future(future), in future() 181 kind: Kind::Status(Some(status)), in status() 200 match self.project().kind.project() { in poll() 216 kind: ResponseBodyKind<B>, field 227 fn new(kind: ResponseBodyKind<B>) -> Self { in new() 228 Self { kind } in new() 248 match self.project().kind.project() { in poll_frame() 255 match &self.kind { in size_hint() 262 match &self.kind { in is_end_stream()
|
| /tonic/tonic-web/src/ |
| H A D | service.rs | 76 trace!(kind = "simple", path = ?req.uri().path(), ?encoding, ?accept); in call() 90 debug!(kind = "simple", error="method not allowed", method = ?req.method()); in call() 100 debug!(kind = "other h2", content_type = ?req.headers().get(header::CONTENT_TYPE)); in call() 110 debug!(kind = "other h1", content_type = ?req.headers().get(header::CONTENT_TYPE)); in call()
|
| /tonic/examples/src/streaming/ |
| H A D | server.rs | 114 if io_err.kind() == ErrorKind::BrokenPipe { in bidirectional_streaming_echo()
|
| /tonic/tonic/src/transport/server/ |
| H A D | io_stream.rs | 129 e.kind(), in handle_tcp_accept_error()
|
| /tonic/examples/proto/googleapis/google/api/ |
| H A D | resource.proto | 56 // // Declares the resource type in the format of {service}/{kind}. 57 // // For Kubernetes resources, the format is {api group}/{kind}.
|
| H A D | http.proto | 371 string kind = 1; field
|