pub struct SessionRegistry { /* private fields */ }Implementations§
Source§impl SessionRegistry
impl SessionRegistry
pub async fn find( session_id: SessionId, ) -> Result<Arc<Mutex<Session>>, AgentError>
pub async fn build_session() -> Result<Arc<Mutex<Session>>, AgentError>
pub fn next_session_id() -> SessionId
Auto Trait Implementations§
impl !Freeze for SessionRegistry
impl !RefUnwindSafe for SessionRegistry
impl Send for SessionRegistry
impl Sync for SessionRegistry
impl Unpin for SessionRegistry
impl !UnwindSafe for SessionRegistry
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