pub struct LiteFSProcessManager { /* private fields */ }Implementations§
Source§impl LiteFSProcessManager
impl LiteFSProcessManager
pub fn new(binary_path: PathBuf) -> Self
pub async fn start_litefs( &self, machine_id: &str, config: &LiteFSConfig, config_dir: &PathBuf, ) -> Result<()>
pub async fn stop_litefs(&self, machine_id: &str) -> Result<()>
pub async fn is_running(&self, machine_id: &str) -> bool
pub async fn stop_all(&self) -> Result<()>
Auto Trait Implementations§
impl Freeze for LiteFSProcessManager
impl !RefUnwindSafe for LiteFSProcessManager
impl Send for LiteFSProcessManager
impl Sync for LiteFSProcessManager
impl Unpin for LiteFSProcessManager
impl UnsafeUnpin for LiteFSProcessManager
impl !UnwindSafe for LiteFSProcessManager
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