pub struct RpcConfigBuilder { /* private fields */ }
Implementations§
Source§impl RpcConfigBuilder
impl RpcConfigBuilder
pub fn new() -> Self
pub fn rpc(self, rpc: Option<Rc<Rpc>>) -> Self
pub fn ping_interval_ms(self, ping_interval_ms: u32) -> Self
pub fn pong_timeout_ms(self, pong_timeout_ms: u32) -> Self
pub fn enable_ipv6(self, enable_ipv6: bool) -> Self
pub fn max_body_size(self, max_body_size: u32) -> Self
pub fn max_send_buffer_size(self, max_send_buffer_size: u32) -> Self
pub fn socket_send_buffer_size(self, socket_send_buffer_size: u32) -> Self
pub fn socket_recv_buffer_size(self, socket_recv_buffer_size: u32) -> Self
pub fn build(self) -> RpcConfig
Auto Trait Implementations§
impl Freeze for RpcConfigBuilder
impl !RefUnwindSafe for RpcConfigBuilder
impl !Send for RpcConfigBuilder
impl !Sync for RpcConfigBuilder
impl Unpin for RpcConfigBuilder
impl !UnwindSafe for RpcConfigBuilder
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