pub struct CodecLimits {
pub max_message_size: usize,
}Fields§
§max_message_size: usizeTrait Implementations§
Source§impl Clone for CodecLimits
impl Clone for CodecLimits
Source§fn clone(&self) -> CodecLimits
fn clone(&self) -> CodecLimits
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 CodecLimits
impl Debug for CodecLimits
Source§impl Default for CodecLimits
impl Default for CodecLimits
Source§impl PartialEq for CodecLimits
impl PartialEq for CodecLimits
Source§fn eq(&self, other: &CodecLimits) -> bool
fn eq(&self, other: &CodecLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CodecLimits
impl Eq for CodecLimits
impl StructuralPartialEq for CodecLimits
Auto Trait Implementations§
impl Freeze for CodecLimits
impl RefUnwindSafe for CodecLimits
impl Send for CodecLimits
impl Sync for CodecLimits
impl Unpin for CodecLimits
impl UnsafeUnpin for CodecLimits
impl UnwindSafe for CodecLimits
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