pub struct Ext4Fs { /* private fields */ }
Implementations§
Source§impl Ext4Fs
impl Ext4Fs
pub fn bd(&mut self) -> &mut Ext4Blockdev
pub fn new(bd: Ext4Blockdev, mnt_name: CString, read_only: bool) -> Result<Self>
pub fn dirents(&mut self, inode: &mut Ext4InodeRef) -> Result<DirIter<'_>>
pub fn open_file(&mut self, name: &str, flags: u32) -> Result<Ext4File<'_>>
pub fn open_file_from_inode( &mut self, index: u32, flags: u32, ) -> Result<Ext4File<'_>>
pub fn get_inode(&mut self, index: u32) -> Result<Ext4InodeRef>
pub fn block_size(&mut self) -> Result<u64>
pub fn remove_file(&mut self, name: &str) -> Result<()>
pub fn create_dir(&mut self, name: &str) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ext4Fs
impl !RefUnwindSafe for Ext4Fs
impl Send for Ext4Fs
impl Sync for Ext4Fs
impl Unpin for Ext4Fs
impl !UnwindSafe for Ext4Fs
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