pub struct SessionOps { /* private fields */ }Implementations§
Source§impl SessionOps
impl SessionOps
pub fn new( db: Arc<Mutex<Database>>, provider_configs: Arc<Vec<(String, PathBuf)>>, ) -> Self
pub fn list(&self, filter: SessionFilter) -> Result<Vec<SessionSummary>>
pub fn list_without_refresh( &self, filter: SessionFilter, ) -> Result<Vec<SessionSummary>>
pub fn find(&self, session_id: &str) -> Result<SessionHandle>
pub fn pack_context( &self, project_hash: Option<&ProjectHash>, limit: usize, ) -> Result<PackResult>
Auto Trait Implementations§
impl Freeze for SessionOps
impl RefUnwindSafe for SessionOps
impl Send for SessionOps
impl Sync for SessionOps
impl Unpin for SessionOps
impl UnsafeUnpin for SessionOps
impl UnwindSafe for SessionOps
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