[−][src]Struct libblkid_rs::BlkidDev
Block device found by blkid
Implementations
impl BlkidDev[src]
pub fn devname(&self) -> Result<&str>[src]
Get the device name for a blkid device
pub fn devsize(&self) -> Result<BlkidSize>[src]
Get the size of a device as reported by the cache
pub fn tag_iter(&self) -> BlkidTagIterⓘImportant traits for BlkidTagIter
impl Iterator for BlkidTagIter type Item = (String, String);[src]
Important traits for BlkidTagIter
impl Iterator for BlkidTagIter type Item = (String, String);Iterate through tags in associated with the given block device
pub fn has_tag(&self, type_: &str, value: &str) -> Result<bool>[src]
Return true if the given device has a specified tag
Auto Trait Implementations
impl RefUnwindSafe for BlkidDev
impl !Send for BlkidDev
impl !Sync for BlkidDev
impl Unpin for BlkidDev
impl UnwindSafe for BlkidDev
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,