pub struct LinuxLvmVolumeSystem { /* private fields */ }Expand description
Linux Logical Volume Manager (LVM) volume system.
Implementations§
Source§impl LinuxLvmVolumeSystem
impl LinuxLvmVolumeSystem
Sourcepub fn get_bytes_per_sector(&self) -> u16
pub fn get_bytes_per_sector(&self) -> u16
Retrieves the bytes per sector.
Sourcepub fn get_identifier(&self) -> Option<&str>
pub fn get_identifier(&self) -> Option<&str>
Retrieves the (volume group) identifier.
Sourcepub fn get_number_of_physical_volumes(&self) -> usize
pub fn get_number_of_physical_volumes(&self) -> usize
Retrieves the number of physical volumes.
Sourcepub fn get_physical_volume_by_index(
&self,
volume_index: usize,
) -> Option<&LinuxLvmPhysicalVolume>
pub fn get_physical_volume_by_index( &self, volume_index: usize, ) -> Option<&LinuxLvmPhysicalVolume>
Retrieves a physical volume by index.
Sourcepub fn get_number_of_volumes(&self) -> usize
pub fn get_number_of_volumes(&self) -> usize
Retrieves the number of (logical) volumes.
Sourcepub fn get_volume_by_index(
&self,
volume_index: usize,
) -> Result<LinuxLvmVolume, ErrorTrace>
pub fn get_volume_by_index( &self, volume_index: usize, ) -> Result<LinuxLvmVolume, ErrorTrace>
Retrieves a volume by index.
Sourcepub fn open(
&mut self,
file_resolver: &FileResolverReference,
file_names: &[PathComponent],
) -> Result<(), ErrorTrace>
pub fn open( &mut self, file_resolver: &FileResolverReference, file_names: &[PathComponent], ) -> Result<(), ErrorTrace>
Opens a storage media image.
Auto Trait Implementations§
impl !RefUnwindSafe for LinuxLvmVolumeSystem
impl !UnwindSafe for LinuxLvmVolumeSystem
impl Forget for LinuxLvmVolumeSystem
impl Freeze for LinuxLvmVolumeSystem
impl Move for LinuxLvmVolumeSystem
impl Send for LinuxLvmVolumeSystem
impl Sync for LinuxLvmVolumeSystem
impl Unpin for LinuxLvmVolumeSystem
impl UnsafeUnpin for LinuxLvmVolumeSystem
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