pub struct LimitsConfig {
pub client_maximum_packet_size: u32,
pub server_maximum_packet_size: Option<u32>,
pub default_message_expiry: Option<Duration>,
pub max_message_expiry: Option<Duration>,
}Fields§
§client_maximum_packet_size: u32§server_maximum_packet_size: Option<u32>§default_message_expiry: Option<Duration>§max_message_expiry: Option<Duration>Trait Implementations§
Source§impl Clone for LimitsConfig
impl Clone for LimitsConfig
Source§fn clone(&self) -> LimitsConfig
fn clone(&self) -> LimitsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 LimitsConfig
impl Debug for LimitsConfig
Auto Trait Implementations§
impl Freeze for LimitsConfig
impl RefUnwindSafe for LimitsConfig
impl Send for LimitsConfig
impl Sync for LimitsConfig
impl Unpin for LimitsConfig
impl UnwindSafe for LimitsConfig
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