Struct ratchet_rs::WebSocketConfig [−][src]
pub struct WebSocketConfig {
pub max_message_size: usize,
}
Expand description
A configuration for building a WebSocket.
Fields
max_message_size: usize
The maximum payload size that is permitted to be received.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WebSocketConfig
impl Send for WebSocketConfig
impl Sync for WebSocketConfig
impl Unpin for WebSocketConfig
impl UnwindSafe for WebSocketConfig
Blanket Implementations
Mutably borrows from an owned value. Read more