pub struct RemoteStore {}Implementations§
Source§impl RemoteStore
impl RemoteStore
Sourcepub fn get_remote_session_store_path() -> PathBuf
pub fn get_remote_session_store_path() -> PathBuf
Get the remote session store path (relative to remote working directory)
Sourcepub async fn get_absolute_remote_session_store_path(
conn: &Arc<RemoteConnection>,
) -> Result<String, String>
pub async fn get_absolute_remote_session_store_path( conn: &Arc<RemoteConnection>, ) -> Result<String, String>
Get the absolute remote session store path by canonicalizing on the remote host
Sourcepub fn get_backup_dir_path() -> PathBuf
pub fn get_backup_dir_path() -> PathBuf
Get the backup directory path relative to session store
Sourcepub fn get_backup_session_path(session_id: &str) -> PathBuf
pub fn get_backup_session_path(session_id: &str) -> PathBuf
Get the full backup directory path for a given session ID
Sourcepub fn get_backup_dir_string() -> String
pub fn get_backup_dir_string() -> String
Get the backup directory path as a string (for remote operations)
Sourcepub fn get_backup_session_string(session_id: &str) -> String
pub fn get_backup_session_string(session_id: &str) -> String
Get the full backup directory path as a string for a given session ID (for remote operations)
Sourcepub async fn get_absolute_backup_session_path(
conn: &Arc<RemoteConnection>,
session_id: &str,
) -> Result<String, String>
pub async fn get_absolute_backup_session_path( conn: &Arc<RemoteConnection>, session_id: &str, ) -> Result<String, String>
Get the absolute backup session path on the remote host
Auto Trait Implementations§
impl Freeze for RemoteStore
impl RefUnwindSafe for RemoteStore
impl Send for RemoteStore
impl Sync for RemoteStore
impl Unpin for RemoteStore
impl UnwindSafe for RemoteStore
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