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> Freeze for FsMng<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more