pub struct WsState {
pub upstream_ws_url: String,
pub connect_timeout: Duration,
}Fields§
§upstream_ws_url: String§connect_timeout: DurationConnect timeout for the initial upstream WS handshake. Not the session lifetime — once connected, the pumps run until either side closes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsState
impl RefUnwindSafe for WsState
impl Send for WsState
impl Sync for WsState
impl Unpin for WsState
impl UnsafeUnpin for WsState
impl UnwindSafe for WsState
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