pub enum VolumeInstallerRequest {
Install {
src: String,
image_file: String,
dst: String,
responder: VolumeInstallerInstallResponder,
},
}
Expand description
Allows installing a volume from an fxfs partition image.
Variants§
Install
Using the partition image in image_file
contained in the volume src
, overwrites the
volume dst
with a volume of the same name from the image. On success, src
will no longer
exist. There must be no objects in src
other than the image that contain extents.
Neither src
nor dst
can be mounted or otherwise in-use.
WARNING: This will delete the existing contents of dst
.
Implementations§
Source§impl VolumeInstallerRequest
impl VolumeInstallerRequest
pub fn into_install( self, ) -> Option<(String, String, String, VolumeInstallerInstallResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VolumeInstallerRequest
impl !RefUnwindSafe for VolumeInstallerRequest
impl Send for VolumeInstallerRequest
impl Sync for VolumeInstallerRequest
impl Unpin for VolumeInstallerRequest
impl !UnwindSafe for VolumeInstallerRequest
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