pub struct ClientConfig {
pub url: String,
pub max_inbound: usize,
pub max_frame_size: usize,
}Expand description
Options for Client construction.
Fields§
§url: StringWebSocket URL.
max_inbound: usizeMax inbound queue depth before priority drop.
max_frame_size: usizeMax frame size hint (informational).
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§impl Debug for ClientConfig
impl Debug for ClientConfig
Auto Trait Implementations§
impl Forget for ClientConfig
impl Freeze for ClientConfig
impl Move for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfigwhere
RawVecInner: Send,
impl Sync for ClientConfigwhere
RawVecInner: Sync,
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfig
impl UnwindSafe for ClientConfigwhere
RawVecInner: UnwindSafe,
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