pub struct WsStreamParams {
pub source_id: String,
pub ws_url: String,
pub config: HyperliquidSourceConfig,
pub coins: Vec<String>,
pub dispatchers: Arc<RwLock<Vec<Box<dyn ChangeDispatcher<SourceEventWrapper> + Send + Sync>>>>,
pub state_store: Option<Arc<dyn StateStoreProvider>>,
pub stream_state: StreamState,
pub shutdown_rx: Receiver<bool>,
pub start_timestamp: Option<i64>,
}Fields§
§source_id: String§ws_url: String§config: HyperliquidSourceConfig§coins: Vec<String>§dispatchers: Arc<RwLock<Vec<Box<dyn ChangeDispatcher<SourceEventWrapper> + Send + Sync>>>>§state_store: Option<Arc<dyn StateStoreProvider>>§stream_state: StreamState§shutdown_rx: Receiver<bool>§start_timestamp: Option<i64>Auto Trait Implementations§
impl !RefUnwindSafe for WsStreamParams
impl !UnwindSafe for WsStreamParams
impl Freeze for WsStreamParams
impl Send for WsStreamParams
impl Sync for WsStreamParams
impl Unpin for WsStreamParams
impl UnsafeUnpin for WsStreamParams
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