Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 9 of 9) sorted by relevance

/tonic/tonic/src/
H A Dbody.rs13 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 Dstatus.rs688 let code = match err.kind() { in from()
/tonic/tonic/src/transport/
H A Derror.rs11 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 Dinterceptor.rs169 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 Dservice.rs76 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 Dserver.rs114 if io_err.kind() == ErrorKind::BrokenPipe { in bidirectional_streaming_echo()
/tonic/tonic/src/transport/server/
H A Dio_stream.rs129 e.kind(), in handle_tcp_accept_error()
/tonic/examples/proto/googleapis/google/api/
H A Dresource.proto56 // // Declares the resource type in the format of {service}/{kind}.
57 // // For Kubernetes resources, the format is {api group}/{kind}.
H A Dhttp.proto371 string kind = 1; field