pub struct IpcWindow { /* private fields */ }Expand description
An IPC window of Everything.
This struct is a minimal IPC interface for Everything v1.4+. It only supports:
- Detecting Everything.
- Retrieving its version and instance name.
- Retrieving its DB status.
Implementations§
Source§impl IpcWindow
impl IpcWindow
Sourcepub fn with_instance(instance_name: Option<&str>) -> Option<Self>
pub fn with_instance(instance_name: Option<&str>) -> Option<Self>
Find an IpcWindow globally using [FindWindowW].
Sourcepub fn from_current_thread() -> Option<Self>
pub fn from_current_thread() -> Option<Self>
Find an IpcWindow from current thread, mainly for plugins.
Sourcepub fn class_name(&self) -> &str
pub fn class_name(&self) -> &str
Class name of the IPC window.
pub fn instance_name(&self) -> Option<&str>
Sourcepub fn is_ipc_available(&self) -> bool
pub fn is_ipc_available(&self) -> bool
Check if IPC is available
Sourcepub fn get_version(&self) -> Version
pub fn get_version(&self) -> Version
Get the version of Everything
Sourcepub fn is_db_loaded(&self) -> bool
pub fn is_db_loaded(&self) -> bool
Check if the database is loaded
Sourcepub fn is_file_info_indexed(&self, info: FileInfo) -> bool
pub fn is_file_info_indexed(&self, info: FileInfo) -> bool
Check if info is indexed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpcWindow
impl RefUnwindSafe for IpcWindow
impl !Send for IpcWindow
impl !Sync for IpcWindow
impl Unpin for IpcWindow
impl UnsafeUnpin for IpcWindow
impl UnwindSafe for IpcWindow
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