pub struct AHDD { /* private fields */ }Implementations§
Source§impl AHDD
impl AHDD
pub fn new(fname: &str) -> Self
pub fn open(&mut self) -> Result<(), AHDDError>
pub fn fh_mut(&mut self) -> Result<&mut File, AHDDError>
pub fn fh_ref(&mut self) -> Result<&File, AHDDError>
pub fn set_offset(&mut self, offset: u64)
pub fn read_header(&mut self) -> Result<(), AHDDError>
pub fn partitions(&self) -> &Vec<Partition>
pub fn checksum(&self) -> Result<u16, AHDDError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AHDD
impl RefUnwindSafe for AHDD
impl Send for AHDD
impl Sync for AHDD
impl Unpin for AHDD
impl UnwindSafe for AHDD
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