pub struct LibraryInfo { /* private fields */ }Expand description
rsblkid version information.
Implementations§
Source§impl LibraryInfo
impl LibraryInfo
Sourcepub fn release_code(&self) -> u32
pub fn release_code(&self) -> u32
Returns the library’s release code (e.g 2381).
Sourcepub fn release_date(&self) -> &str
pub fn release_date(&self) -> &str
Returns the library’s release date (e.g. 04-Aug-2022).
Sourcepub fn version_string(&self) -> &str
pub fn version_string(&self) -> &str
Returns the library’s version string (e.g. 2.38.1).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LibraryInfo
impl RefUnwindSafe for LibraryInfo
impl Send for LibraryInfo
impl Sync for LibraryInfo
impl Unpin for LibraryInfo
impl UnwindSafe for LibraryInfo
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