Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 46) sorted by relevance

12

/tonic/tests/integration_tests/proto/
H A Dtest.proto19 bytes buf = 1;
22 bytes buf = 1;
/tonic/tonic/src/codec/
H A Dbuffer.rs1 use bytes::buf::UninitSlice;
2 use bytes::{Buf, BufMut, Bytes, BytesMut};
136 let mut bytes = BytesMut::with_capacity(100); in encode_buf() localVariable
137 let mut buf = EncodeBuf::new(&mut bytes); in encode_buf()
H A Dprost.rs157 use bytes::{Buf, BufMut, BytesMut};
351 use bytes::Bytes;
/tonic/tonic/src/
H A Dbody.rs8 type BoxBody = http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, crate::Status>;
35 B: http_body::Body<Data = bytes::Bytes> + Send + 'static, in new()
68 type Data = bytes::Bytes;
H A Dcodegen.rs15 pub use bytes::Bytes;
H A Dstatus.rs4 use bytes::Bytes;
789 pub fn from_bytes(bytes: &[u8]) -> Code { in from_bytes()
790 match bytes.len() { in from_bytes()
791 1 => match bytes[0] { in from_bytes()
804 2 => match (bytes[0], bytes[1]) { in from_bytes()
/tonic/tonic-web/
H A DCargo.toml20 bytes = "1"
42 "bytes::*",
/tonic/tests/use_arc_self/proto/
H A Dtest.proto11 bytes data = 1;
/tonic/tests/web/
H A DCargo.toml9 bytes = "1.0"
/tonic/tests/web/tests/
H A Dgrpc_web.rs4 use bytes::{Buf, BufMut, Bytes, BytesMut};
118 let bytes = match content_type { in build_request() localVariable
133 Full::new(bytes).map_err(|err| Status::internal(err.to_string())), in build_request()
/tonic/tests/compression/
H A DCargo.toml8 bytes = "1"
/tonic/tests/compression/proto/
H A Dtest.proto18 bytes data = 1;
/tonic/tests/integration_tests/
H A DCargo.toml10 bytes = "1.0"
/tonic/tonic-build/src/
H A Dprost.rs32 bytes: None, in configure()
301 pub(crate) bytes: Option<Vec<String>>, field
451 pub fn bytes<I, S>(mut self, paths: I) -> Self in bytes() method
456 self.bytes = Some( in bytes()
683 if let Some(ref paths) = self.bytes { in setup_config()
684 config.bytes(paths); in setup_config()
/tonic/tonic/benches/
H A Ddecode.rs4 use bytes::{Buf, BufMut, Bytes, BytesMut};
22 b.bytes = body.len() as u64;
/tonic/tonic-health/
H A DCargo.toml36 "bytes::*",
/tonic/examples/
H A DREADME.md148 * [bytes](https://crates.io/crates/bytes)
H A DCargo.toml256 grpc-web = ["dep:tonic-web", "dep:bytes", "dep:http", "dep:hyper", "dep:hyper-util", "dep:tracing-s…
262 json-codec = ["dep:serde", "dep:serde_json", "dep:bytes"]
299 bytes = { version = "1", optional = true }
/tonic/tonic/src/metadata/
H A Dencoding.rs2 use bytes::Bytes;
17 use bytes::Bytes;
/tonic/tonic-reflection/
H A DCargo.toml48 "bytes::*",
/tonic/examples/src/json-codec/
H A Dcommon.rs5 use bytes::{Buf, BufMut};
/tonic/tonic/src/transport/service/
H A Dgrpc_timeout.rs251 let bytes: Vec<_> = (min..max) in gen_string() localVariable
260 String::from_utf8(bytes).unwrap() in gen_string()
/tonic/tonic/
H A DCargo.toml62 bytes = "1.0"
120 "bytes::*",
/tonic/tonic/benches-disabled/
H A DREADME.md12 2) The `thrpt` value generated by Criterion is simply a measure of bytes consumed by the target fun…
/tonic/tonic-web/src/
H A Dservice.rs49 B: http_body::Body<Data = bytes::Bytes> + Send + 'static,
208 B: http_body::Body<Data = bytes::Bytes> + Send + 'static, in coerce_request()
229 B: http_body::Body<Data = bytes::Bytes> + Send + 'static, in coerce_response()

12