Struct libblkid_rs::BlkidTopology
source · pub struct BlkidTopology(/* private fields */);
Expand description
A handle for traversing the blkid topology of devices.
Implementations§
source§impl BlkidTopology
impl BlkidTopology
sourcepub fn get_alignment_offset(&self) -> c_ulong
pub fn get_alignment_offset(&self) -> c_ulong
Get the alignment offset.
sourcepub fn get_minimum_io_size(&self) -> c_ulong
pub fn get_minimum_io_size(&self) -> c_ulong
Get the minimum size of an IO operation.
sourcepub fn get_optimal_io_size(&self) -> c_ulong
pub fn get_optimal_io_size(&self) -> c_ulong
Get the optimal size of an IO operation.
sourcepub fn get_logical_sector_size(&self) -> c_ulong
pub fn get_logical_sector_size(&self) -> c_ulong
Get the size of a logical sector.
sourcepub fn get_physical_sector_size(&self) -> c_ulong
pub fn get_physical_sector_size(&self) -> c_ulong
Get the size of a physical sector.
Auto Trait Implementations§
impl Freeze for BlkidTopology
impl RefUnwindSafe for BlkidTopology
impl !Send for BlkidTopology
impl !Sync for BlkidTopology
impl Unpin for BlkidTopology
impl UnwindSafe for BlkidTopology
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