Searched defs:ChannelBuilder (Results 1 – 2 of 2) sorted by relevance
73 pub struct ChannelBuilder { struct78 impl ChannelBuilder { impl80 pub fn new(env: Arc<Environment>) -> ChannelBuilder { in new()88 pub fn default_authority<S: Into<Vec<u8>>>(mut self, authority: S) -> ChannelBuilder { in default_authority()98 pub fn set_resource_quota(mut self, quota: ResourceQuota) -> ChannelBuilder { in set_resource_quota()109 pub fn max_concurrent_stream(mut self, num: i32) -> ChannelBuilder { in max_concurrent_stream()118 pub fn max_receive_message_len(mut self, len: i32) -> ChannelBuilder { in max_receive_message_len()127 pub fn max_send_message_len(mut self, len: i32) -> ChannelBuilder { in max_send_message_len()136 pub fn max_reconnect_backoff(mut self, backoff: Duration) -> ChannelBuilder { in max_reconnect_backoff()145 pub fn initial_reconnect_backoff(mut self, backoff: Duration) -> ChannelBuilder { in initial_reconnect_backoff()[all …]
2813 private static final class ChannelBuilder class in ManagedChannelImplTest2816 ChannelBuilder() { in ChannelBuilder() method in ManagedChannelImplTest.ChannelBuilder