pub struct WsLimits {
pub max_frame: u64,
pub max_message: u64,
}Expand description
Size limits.
Fields§
§max_frame: u64Largest frame payload. Default 16 MiB.
max_message: u64Largest message (all fragments). Default 16 MiB.
Trait Implementations§
impl Copy for WsLimits
impl Eq for WsLimits
impl StructuralPartialEq for WsLimits
Auto Trait Implementations§
impl Forget for WsLimits
impl Freeze for WsLimits
impl Move for WsLimits
impl RefUnwindSafe for WsLimits
impl Send for WsLimits
impl Sync for WsLimits
impl Unpin for WsLimits
impl UnsafeUnpin for WsLimits
impl UnwindSafe for WsLimits
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