pub struct SessionStore {
pub sessions: HashMap<Uuid, Addr<Session>>,
}Expand description
存储所有客户端会话的 store
Fields§
§sessions: HashMap<Uuid, Addr<Session>>Implementations§
Source§impl SessionStore
impl SessionStore
Auto Trait Implementations§
impl Freeze for SessionStore
impl !RefUnwindSafe for SessionStore
impl Send for SessionStore
impl Sync for SessionStore
impl Unpin for SessionStore
impl !UnwindSafe for SessionStore
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