pub struct StreamConfig {
pub window: usize,
pub max_queued: usize,
pub max_connections: usize,
}Expand description
Limits of a StreamTable.
Fields§
§window: usizeBytes of a connection handed to the driver and not yet reported written, beyond which no more is handed out (one transmit is always allowed).
max_queued: usizeBytes of a connection queued in the engine, beyond which a message is dropped whole.
max_connections: usizeConnections at most, accepted ones included; an accept beyond it is refused.
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
impl Copy for StreamConfig
Source§impl Debug for StreamConfig
impl Debug for StreamConfig
Source§impl Default for StreamConfig
impl Default for StreamConfig
impl Eq for StreamConfig
Source§impl PartialEq for StreamConfig
impl PartialEq for StreamConfig
impl StructuralPartialEq for StreamConfig
Auto Trait Implementations§
impl Forget for StreamConfig
impl Freeze for StreamConfig
impl Move for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin for StreamConfig
impl UnwindSafe for StreamConfig
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