pub struct TabsStore {
pub storage: Mutex<TabsStorage>,
}
Fields§
§storage: Mutex<TabsStorage>
Implementations§
source§impl TabsStore
impl TabsStore
pub fn new(db_path: impl AsRef<Path>) -> Self
pub fn new_with_mem_path(db_path: &str) -> Self
pub fn close_connection(&self)
pub fn set_local_tabs(&self, local_state: Vec<RemoteTab>)
pub fn get_all(&self) -> Vec<ClientRemoteTabs>
pub fn remote_tabs(&self) -> Option<Vec<ClientRemoteTabs>>
pub fn new_remote_command_store(self: Arc<Self>) -> Arc<RemoteCommandStore>
source§impl TabsStore
impl TabsStore
pub fn bridged_engine(self: Arc<Self>) -> Arc<TabsBridgedEngine>
Auto Trait Implementations§
impl !Freeze for TabsStore
impl RefUnwindSafe for TabsStore
impl Send for TabsStore
impl Sync for TabsStore
impl Unpin for TabsStore
impl UnwindSafe for TabsStore
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more