Struct s2n_quic_transport::connection::limits::Limits
source · [−]pub struct Limits { /* private fields */ }
Implementations
sourceimpl Limits
impl Limits
pub const fn new() -> Limits
pub fn with_max_idle_timeout(
self,
value: Duration
) -> Result<Limits, ValidationError>
pub fn with_data_window(self, value: u64) -> Result<Limits, ValidationError>
pub fn with_bidirectional_local_data_window(
self,
value: u64
) -> Result<Limits, ValidationError>
pub fn with_bidirectional_remote_data_window(
self,
value: u64
) -> Result<Limits, ValidationError>
pub fn with_unidirectional_data_window(
self,
value: u64
) -> Result<Limits, ValidationError>
pub fn with_max_open_bidirectional_streams(
self,
value: u64
) -> Result<Limits, ValidationError>
pub fn with_max_open_local_unidirectional_streams(
self,
value: u64
) -> Result<Limits, ValidationError>
pub fn with_max_open_remote_unidirectional_streams(
self,
value: u64
) -> Result<Limits, ValidationError>
pub fn with_max_ack_delay(
self,
value: Duration
) -> Result<Limits, ValidationError>
pub fn with_max_active_connection_ids(
self,
value: u64
) -> Result<Limits, ValidationError>
pub fn with_ack_elicitation_interval(
self,
value: u8
) -> Result<Limits, ValidationError>
pub fn with_max_ack_ranges(self, value: u8) -> Result<Limits, ValidationError>
pub fn with_max_send_buffer_size(
self,
value: u32
) -> Result<Limits, ValidationError>
pub fn with_max_handshake_duration(
self,
value: Duration
) -> Result<Limits, ValidationError>
pub fn with_max_keep_alive_period(
self,
value: Duration
) -> Result<Limits, ValidationError>
Trait Implementations
sourceimpl Limiter for Limits
impl Limiter for Limits
Implement Limiter for a Limits struct
fn on_connection(&mut self, _into: &ConnectionInfo<'_>) -> Limits
impl Copy for Limits
Auto Trait Implementations
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more