Struct rpc_core_net::config_builder::TcpConfigBuilder
source · pub struct TcpConfigBuilder { /* private fields */ }
Implementations§
source§impl TcpConfigBuilder
impl TcpConfigBuilder
pub fn new() -> Self
pub fn auto_pack(&mut self, auto_pack: bool) -> &mut Self
pub fn enable_ipv6(&mut self, enable_ipv6: bool) -> &mut Self
pub fn max_body_size(&mut self, max_body_size: u32) -> &mut Self
pub fn max_send_buffer_size(&mut self, max_send_buffer_size: u32) -> &mut Self
pub fn socket_send_buffer_size( &mut self, socket_send_buffer_size: u32 ) -> &mut Self
pub fn socket_recv_buffer_size( &mut self, socket_recv_buffer_size: u32 ) -> &mut Self
pub fn build(&self) -> TcpConfig
Auto Trait Implementations§
impl RefUnwindSafe for TcpConfigBuilder
impl Send for TcpConfigBuilder
impl Sync for TcpConfigBuilder
impl Unpin for TcpConfigBuilder
impl UnwindSafe for TcpConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more