Struct ge_man::filesystem::FsMng
source · pub struct FsMng<'a> { /* private fields */ }
Expand description
Inside this struct it is assumed that all data passed to the methods of this struct contain valid data which passed clap’s or the ui module’s validations.
Implementations§
Trait Implementations§
source§impl<'a> FilesystemManager for FsMng<'a>
impl<'a> FilesystemManager for FsMng<'a>
fn setup_version( &self, version: Version, compressed_tar: Box<dyn Read> ) -> Result<ManagedVersion>
fn remove_version(&self, version: &ManagedVersion) -> Result<()>
fn migrate_folder( &self, version: Version, source_path: &Path ) -> Result<ManagedVersion>
fn apply_to_app_config(&self, version: &ManagedVersion) -> Result<()>
fn copy_user_settings( &self, src_version: &ManagedVersion, dst_version: &ManagedVersion ) -> Result<()>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FsMng<'a>
impl<'a> !Send for FsMng<'a>
impl<'a> !Sync for FsMng<'a>
impl<'a> Unpin for FsMng<'a>
impl<'a> !UnwindSafe for FsMng<'a>
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