Struct sc_rpc_server::WsConfig
source · pub struct WsConfig {
pub max_connections: Option<usize>,
pub max_subs_per_conn: Option<usize>,
pub max_payload_in_mb: Option<usize>,
pub max_payload_out_mb: Option<usize>,
}
Expand description
Server config.
Fields§
§max_connections: Option<usize>
Maximum connections.
max_subs_per_conn: Option<usize>
Maximum subscriptions per connection.
max_payload_in_mb: Option<usize>
Maximum rpc request payload size.
max_payload_out_mb: Option<usize>
Maximum rpc response payload size.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsConfig
impl RefUnwindSafe for WsConfig
impl Send for WsConfig
impl Sync for WsConfig
impl Unpin for WsConfig
impl UnwindSafe for WsConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)