pub struct TcpInboundConfig {
pub max_wire_bytes: u32,
pub max_sessions: usize,
}Expand description
Configuration for spawn_tcp_inbound.
Fields§
§max_wire_bytes: u32§max_sessions: usizeConcurrent TCP session threads. 0 means no limit.
Trait Implementations§
Source§impl Clone for TcpInboundConfig
impl Clone for TcpInboundConfig
Source§impl Debug for TcpInboundConfig
impl Debug for TcpInboundConfig
Auto Trait Implementations§
impl Freeze for TcpInboundConfig
impl RefUnwindSafe for TcpInboundConfig
impl Send for TcpInboundConfig
impl Sync for TcpInboundConfig
impl Unpin for TcpInboundConfig
impl UnsafeUnpin for TcpInboundConfig
impl UnwindSafe for TcpInboundConfig
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