pub struct SyncState {
pub clients: BoardClients,
pub event_tx: Sender<BoardEvent>,
pub version: Arc<RwLock<u64>>,
}Fields§
§clients: BoardClients§event_tx: Sender<BoardEvent>§version: Arc<RwLock<u64>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncState
impl !RefUnwindSafe for SyncState
impl Send for SyncState
impl Sync for SyncState
impl Unpin for SyncState
impl UnsafeUnpin for SyncState
impl !UnwindSafe for SyncState
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