pub struct ChannelLimits {
pub max_active_transactions: usize,
pub max_distinct_sessions: usize,
pub max_encoded_exchange_bytes: usize,
}Expand description
Per-Channel capacity and encoding bounds.
Fields§
§max_active_transactions: usizeMaximum concurrent active transactions on this Channel.
max_distinct_sessions: usizeMaximum concurrent distinct sessions.
max_encoded_exchange_bytes: usizeMaximum encoded exchange bytes.
Trait Implementations§
Source§impl Clone for ChannelLimits
impl Clone for ChannelLimits
Source§fn clone(&self) -> ChannelLimits
fn clone(&self) -> ChannelLimits
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 moreSource§impl Debug for ChannelLimits
impl Debug for ChannelLimits
Source§impl Default for ChannelLimits
impl Default for ChannelLimits
impl Eq for ChannelLimits
Source§impl PartialEq for ChannelLimits
impl PartialEq for ChannelLimits
impl StructuralPartialEq for ChannelLimits
Auto Trait Implementations§
impl Freeze for ChannelLimits
impl RefUnwindSafe for ChannelLimits
impl Send for ChannelLimits
impl Sync for ChannelLimits
impl Unpin for ChannelLimits
impl UnsafeUnpin for ChannelLimits
impl UnwindSafe for ChannelLimits
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