[][src]Struct grpcio_proto::testing::control::ClientConfig

pub struct ClientConfig {
    pub server_targets: RepeatedField<String>,
    pub client_type: ClientType,
    pub security_params: SingularPtrField<SecurityParams>,
    pub outstanding_rpcs_per_channel: i32,
    pub client_channels: i32,
    pub async_client_threads: i32,
    pub rpc_type: RpcType,
    pub load_params: SingularPtrField<LoadParams>,
    pub payload_config: SingularPtrField<PayloadConfig>,
    pub histogram_params: SingularPtrField<HistogramParams>,
    pub core_list: Vec<i32>,
    pub core_limit: i32,
    pub other_client_api: String,
    pub channel_args: RepeatedField<ChannelArg>,
    pub threads_per_cq: i32,
    pub messages_per_stream: i32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

server_targets: RepeatedField<String>client_type: ClientTypesecurity_params: SingularPtrField<SecurityParams>outstanding_rpcs_per_channel: i32client_channels: i32async_client_threads: i32rpc_type: RpcTypeload_params: SingularPtrField<LoadParams>payload_config: SingularPtrField<PayloadConfig>histogram_params: SingularPtrField<HistogramParams>core_list: Vec<i32>core_limit: i32other_client_api: Stringchannel_args: RepeatedField<ChannelArg>threads_per_cq: i32messages_per_stream: i32unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ClientConfig[src]

pub fn new() -> ClientConfig[src]

pub fn get_server_targets(&self) -> &[String][src]

pub fn clear_server_targets(&mut self)[src]

pub fn set_server_targets(&mut self, v: RepeatedField<String>)[src]

pub fn mut_server_targets(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_server_targets(&mut self) -> RepeatedField<String>[src]

pub fn get_client_type(&self) -> ClientType[src]

pub fn clear_client_type(&mut self)[src]

pub fn set_client_type(&mut self, v: ClientType)[src]

pub fn get_security_params(&self) -> &SecurityParams[src]

pub fn clear_security_params(&mut self)[src]

pub fn has_security_params(&self) -> bool[src]

pub fn set_security_params(&mut self, v: SecurityParams)[src]

pub fn mut_security_params(&mut self) -> &mut SecurityParams[src]

pub fn take_security_params(&mut self) -> SecurityParams[src]

pub fn get_outstanding_rpcs_per_channel(&self) -> i32[src]

pub fn clear_outstanding_rpcs_per_channel(&mut self)[src]

pub fn set_outstanding_rpcs_per_channel(&mut self, v: i32)[src]

pub fn get_client_channels(&self) -> i32[src]

pub fn clear_client_channels(&mut self)[src]

pub fn set_client_channels(&mut self, v: i32)[src]

pub fn get_async_client_threads(&self) -> i32[src]

pub fn clear_async_client_threads(&mut self)[src]

pub fn set_async_client_threads(&mut self, v: i32)[src]

pub fn get_rpc_type(&self) -> RpcType[src]

pub fn clear_rpc_type(&mut self)[src]

pub fn set_rpc_type(&mut self, v: RpcType)[src]

pub fn get_load_params(&self) -> &LoadParams[src]

pub fn clear_load_params(&mut self)[src]

pub fn has_load_params(&self) -> bool[src]

pub fn set_load_params(&mut self, v: LoadParams)[src]

pub fn mut_load_params(&mut self) -> &mut LoadParams[src]

pub fn take_load_params(&mut self) -> LoadParams[src]

pub fn get_payload_config(&self) -> &PayloadConfig[src]

pub fn clear_payload_config(&mut self)[src]

pub fn has_payload_config(&self) -> bool[src]

pub fn set_payload_config(&mut self, v: PayloadConfig)[src]

pub fn mut_payload_config(&mut self) -> &mut PayloadConfig[src]

pub fn take_payload_config(&mut self) -> PayloadConfig[src]

pub fn get_histogram_params(&self) -> &HistogramParams[src]

pub fn clear_histogram_params(&mut self)[src]

pub fn has_histogram_params(&self) -> bool[src]

pub fn set_histogram_params(&mut self, v: HistogramParams)[src]

pub fn mut_histogram_params(&mut self) -> &mut HistogramParams[src]

pub fn take_histogram_params(&mut self) -> HistogramParams[src]

pub fn get_core_list(&self) -> &[i32][src]

pub fn clear_core_list(&mut self)[src]

pub fn set_core_list(&mut self, v: Vec<i32>)[src]

pub fn mut_core_list(&mut self) -> &mut Vec<i32>[src]

pub fn take_core_list(&mut self) -> Vec<i32>[src]

pub fn get_core_limit(&self) -> i32[src]

pub fn clear_core_limit(&mut self)[src]

pub fn set_core_limit(&mut self, v: i32)[src]

pub fn get_other_client_api(&self) -> &str[src]

pub fn clear_other_client_api(&mut self)[src]

pub fn set_other_client_api(&mut self, v: String)[src]

pub fn mut_other_client_api(&mut self) -> &mut String[src]

pub fn take_other_client_api(&mut self) -> String[src]

pub fn get_channel_args(&self) -> &[ChannelArg][src]

pub fn clear_channel_args(&mut self)[src]

pub fn set_channel_args(&mut self, v: RepeatedField<ChannelArg>)[src]

pub fn mut_channel_args(&mut self) -> &mut RepeatedField<ChannelArg>[src]

pub fn take_channel_args(&mut self) -> RepeatedField<ChannelArg>[src]

pub fn get_threads_per_cq(&self) -> i32[src]

pub fn clear_threads_per_cq(&mut self)[src]

pub fn set_threads_per_cq(&mut self, v: i32)[src]

pub fn get_messages_per_stream(&self) -> i32[src]

pub fn clear_messages_per_stream(&mut self)[src]

pub fn set_messages_per_stream(&mut self, v: i32)[src]

Trait Implementations

impl Clear for ClientConfig[src]

impl Clone for ClientConfig[src]

impl Debug for ClientConfig[src]

impl Default for ClientConfig[src]

impl<'a> Default for &'a ClientConfig[src]

impl Message for ClientConfig[src]

impl PartialEq<ClientConfig> for ClientConfig[src]

impl ProtobufValue for ClientConfig[src]

impl StructuralPartialEq for ClientConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.