pub struct StreamState {
pub initialized: Arc<RwLock<InitializedEntities>>,
pub trade_dedupe: Arc<RwLock<HashMap<String, u64>>>,
pub funding_state: Arc<RwLock<HashMap<String, FundingSnapshot>>>,
}Fields§
§initialized: Arc<RwLock<InitializedEntities>>§trade_dedupe: Arc<RwLock<HashMap<String, u64>>>§funding_state: Arc<RwLock<HashMap<String, FundingSnapshot>>>Trait Implementations§
Source§impl Clone for StreamState
impl Clone for StreamState
Source§fn clone(&self) -> StreamState
fn clone(&self) -> StreamState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for StreamState
impl Default for StreamState
Source§fn default() -> StreamState
fn default() -> StreamState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for StreamState
impl !UnwindSafe for StreamState
impl Freeze for StreamState
impl Send for StreamState
impl Sync for StreamState
impl Unpin for StreamState
impl UnsafeUnpin for StreamState
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