pub struct ClientTransportLimits {
pub max_queued_packets_per_client: usize,
pub max_packet_bytes: usize,
}Expand description
Bounded in-memory client transport limits.
Fields§
§max_queued_packets_per_client: usizeMaximum queued packets per target client.
max_packet_bytes: usizeMaximum bytes accepted per packet.
Trait Implementations§
Source§impl Clone for ClientTransportLimits
impl Clone for ClientTransportLimits
Source§fn clone(&self) -> ClientTransportLimits
fn clone(&self) -> ClientTransportLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClientTransportLimits
Source§impl Debug for ClientTransportLimits
impl Debug for ClientTransportLimits
Source§impl Default for ClientTransportLimits
impl Default for ClientTransportLimits
impl Eq for ClientTransportLimits
Source§impl PartialEq for ClientTransportLimits
impl PartialEq for ClientTransportLimits
impl StructuralPartialEq for ClientTransportLimits
Auto Trait Implementations§
impl Freeze for ClientTransportLimits
impl RefUnwindSafe for ClientTransportLimits
impl Send for ClientTransportLimits
impl Sync for ClientTransportLimits
impl Unpin for ClientTransportLimits
impl UnsafeUnpin for ClientTransportLimits
impl UnwindSafe for ClientTransportLimits
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