pub struct IoState {
pub tx: Sender<IoEvent>,
pub rx: Option<Receiver<IoEvent>>,
pub open: HashMap<WorkerId, OpenKey>,
pub session_error: Option<String>,
/* private fields */
}Fields§
§tx: Sender<IoEvent>§rx: Option<Receiver<IoEvent>>§open: HashMap<WorkerId, OpenKey>§session_error: Option<String>Trait Implementations§
Auto Trait Implementations§
impl !Sync for IoState
impl Freeze for IoState
impl RefUnwindSafe for IoState
impl Send for IoState
impl Unpin for IoState
impl UnsafeUnpin for IoState
impl UnwindSafe for IoState
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