Struct s2n_quic_core::stream::limits::Limits
source · pub struct Limits {
pub max_send_buffer_size: MaxSendBufferSize,
pub max_open_local_unidirectional_streams: LocalUnidirectional,
pub max_open_local_bidirectional_streams: LocalBidirectional,
}
Expand description
Per-stream limits
Fields§
§max_send_buffer_size: MaxSendBufferSize
The maximum send buffer size for a Stream
max_open_local_unidirectional_streams: LocalUnidirectional
The maximum number of unidirectional streams that may be opened concurrently by the local endpoint. This value is not communicated to the peer, it is only used for limiting concurrent streams opened locally by the application.
max_open_local_bidirectional_streams: LocalBidirectional
The maximum number of bidirectional streams that may be opened concurrently by the local endpoint. This value is not communicated to the peer, it is only used for limiting concurrent streams opened locally by the application.
Implementations§
source§impl Limits
impl Limits
pub const RECOMMENDED: Self = _
Trait Implementations§
source§impl PartialEq for Limits
impl PartialEq for Limits
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
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