[−][src]Struct grpcio_proto::testing::control::ServerConfig
Fields
server_type: ServerTypesecurity_params: SingularPtrField<SecurityParams>port: i32async_server_threads: i32core_limit: i32payload_config: SingularPtrField<PayloadConfig>core_list: Vec<i32>other_server_api: Stringthreads_per_cq: i32resource_quota_size: i32channel_args: RepeatedField<ChannelArg>unknown_fields: UnknownFieldscached_size: CachedSizeImplementations
impl ServerConfig[src]
pub fn new() -> ServerConfig[src]
pub fn get_server_type(&self) -> ServerType[src]
pub fn clear_server_type(&mut self)[src]
pub fn set_server_type(&mut self, v: ServerType)[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_port(&self) -> i32[src]
pub fn clear_port(&mut self)[src]
pub fn set_port(&mut self, v: i32)[src]
pub fn get_async_server_threads(&self) -> i32[src]
pub fn clear_async_server_threads(&mut self)[src]
pub fn set_async_server_threads(&mut self, v: 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_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_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_other_server_api(&self) -> &str[src]
pub fn clear_other_server_api(&mut self)[src]
pub fn set_other_server_api(&mut self, v: String)[src]
pub fn mut_other_server_api(&mut self) -> &mut String[src]
pub fn take_other_server_api(&mut self) -> String[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_resource_quota_size(&self) -> i32[src]
pub fn clear_resource_quota_size(&mut self)[src]
pub fn set_resource_quota_size(&mut self, v: i32)[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]
Trait Implementations
impl Clear for ServerConfig[src]
impl Clone for ServerConfig[src]
pub fn clone(&self) -> ServerConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ServerConfig[src]
impl Default for ServerConfig[src]
pub fn default() -> ServerConfig[src]
impl<'a> Default for &'a ServerConfig[src]
pub fn default() -> &'a ServerConfig[src]
impl Message for ServerConfig[src]
pub fn is_initialized(&self) -> bool[src]
pub fn merge_from(
&mut self,
is: &mut CodedInputStream<'_>
) -> ProtobufResult<()>[src]
&mut self,
is: &mut CodedInputStream<'_>
) -> ProtobufResult<()>
pub fn compute_size(&self) -> u32[src]
pub fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
pub fn get_cached_size(&self) -> u32[src]
pub fn get_unknown_fields(&self) -> &UnknownFields[src]
pub fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
pub fn as_any(&self) -> &dyn Any[src]
pub fn as_any_mut(&mut self) -> &mut dyn Any[src]
pub fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
pub fn descriptor(&self) -> &'static MessageDescriptor[src]
pub fn new() -> ServerConfig[src]
pub fn descriptor_static() -> &'static MessageDescriptor[src]
pub fn default_instance() -> &'static ServerConfig[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId[src]
impl PartialEq<ServerConfig> for ServerConfig[src]
pub fn eq(&self, other: &ServerConfig) -> bool[src]
pub fn ne(&self, other: &ServerConfig) -> bool[src]
impl ProtobufValue for ServerConfig[src]
pub fn as_ref(&self) -> ReflectValueRef<'_>[src]
pub fn as_any(&self) -> &(dyn Any + 'static)[src]
pub fn is_non_zero(&self) -> bool[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>[src]
impl StructuralPartialEq for ServerConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnwindSafe for ServerConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,