Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 17 of 17) sorted by relevance

/tonic/tonic/src/server/
H A Dgrpc.rs149 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
150 self.max_decoding_message_size = Some(limit); in max_decoding_message_size()
179 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
180 self.max_encoding_message_size = Some(limit); in max_encoding_message_size()
208 if let Some(limit) = max_decoding_message_size { in apply_max_message_size_config()
209 self = self.max_decoding_message_size(limit); in apply_max_message_size_config()
211 if let Some(limit) = max_encoding_message_size { in apply_max_message_size_config()
212 self = self.max_encoding_message_size(limit); in apply_max_message_size_config()
/tonic/tonic-health/src/generated/
H A Dgrpc_health_v1.rs126 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
127 self.inner = self.inner.max_decoding_message_size(limit); in max_decoding_message_size()
134 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
135 self.inner = self.inner.max_encoding_message_size(limit); in max_encoding_message_size()
299 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
300 self.max_decoding_message_size = Some(limit); in max_decoding_message_size()
307 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
308 self.max_encoding_message_size = Some(limit); in max_encoding_message_size()
/tonic/tonic-reflection/src/generated/
H A Dgrpc_reflection_v1.rs215 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
216 self.inner = self.inner.max_decoding_message_size(limit); in max_decoding_message_size()
223 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
224 self.inner = self.inner.max_encoding_message_size(limit); in max_encoding_message_size()
340 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
341 self.max_decoding_message_size = Some(limit); in max_decoding_message_size()
348 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
349 self.max_encoding_message_size = Some(limit); in max_encoding_message_size()
H A Dgrpc_reflection_v1alpha.rs215 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
216 self.inner = self.inner.max_decoding_message_size(limit); in max_decoding_message_size()
223 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
224 self.inner = self.inner.max_encoding_message_size(limit); in max_encoding_message_size()
340 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
341 self.max_decoding_message_size = Some(limit); in max_decoding_message_size()
348 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
349 self.max_encoding_message_size = Some(limit); in max_encoding_message_size()
/tonic/tonic/src/transport/channel/
H A Dendpoint.rs192 pub fn concurrency_limit(self, limit: usize) -> Self { in concurrency_limit()
194 concurrency_limit: Some(limit), in concurrency_limit()
207 pub fn rate_limit(self, limit: u64, duration: Duration) -> Self { in rate_limit()
209 rate_limit: Some((limit, duration)), in rate_limit()
/tonic/tonic/src/client/
H A Dgrpc.rs159 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in max_decoding_message_size()
160 self.config.max_decoding_message_size = Some(limit); in max_decoding_message_size()
189 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in max_encoding_message_size()
190 self.config.max_encoding_message_size = Some(limit); in max_encoding_message_size()
/tonic/tonic-build/src/
H A Dclient.rs119 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in generate_internal()
120 self.inner = self.inner.max_decoding_message_size(limit); in generate_internal()
128 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in generate_internal()
129 self.inner = self.inner.max_encoding_message_size(limit); in generate_internal()
H A Dserver.rs80 pub fn max_decoding_message_size(mut self, limit: usize) -> Self { in generate_internal()
81 self.max_decoding_message_size = Some(limit); in generate_internal()
89 pub fn max_encoding_message_size(mut self, limit: usize) -> Self { in generate_internal()
90 self.max_encoding_message_size = Some(limit); in generate_internal()
/tonic/tonic/src/codec/
H A Dencode.rs187 let limit = max_message_size.unwrap_or(DEFAULT_MAX_SEND_MESSAGE_SIZE); in finish_encoding() localVariable
188 if len > limit { in finish_encoding()
191 len, limit in finish_encoding()
H A Ddecode.rs186 let limit = self in decode_chunk() localVariable
189 if len > limit { in decode_chunk()
193 len, limit in decode_chunk()
/tonic/tonic/src/service/
H A Dlayered.rs85 use tower::{limit::ConcurrencyLimitLayer, timeout::TimeoutLayer}; in named_service_is_propagated_to_layered()
/tonic/tonic/
H A DCargo.toml45 "dep:tower", "tower?/util", "tower?/limit",
50 "dep:tower", "tower?/balance", "tower?/buffer", "tower?/discover", "tower?/limit", "tower?/util",
/tonic/tonic-types/proto/
H A Derror_details.proto56 // For example if a daily limit was exceeded for the calling project,
58 // id and the description of the quota limit that was exceeded. If the
76 // public documentation, or find the relevant quota limit to adjust through
131 // length. When identifying the current value of an exceeded limit, the units
/tonic/tonic/src/transport/channel/service/
H A Dconnection.rs17 limit::{concurrency::ConcurrencyLimitLayer, rate::RateLimitLayer},
/tonic/tonic/src/transport/server/
H A Dmod.rs70 limit::concurrency::ConcurrencyLimitLayer,
177 pub fn concurrency_limit_per_connection(self, limit: usize) -> Self { in concurrency_limit_per_connection()
179 concurrency_limit: Some(limit), in concurrency_limit_per_connection()
/tonic/
H A DCONTRIBUTING.md223 possible within individual commits. There is no limit to the number of commits
/tonic/examples/proto/googleapis/google/pubsub/v1/
H A Dpubsub.proto1126 // <= 0, there is no limit to the number of outstanding messages. This
1137 // is <= 0, there is no limit to the number of outstanding bytes. This