pub struct FatFs { /* private fields */ }
Implementations§
Source§impl FatFs
impl FatFs
Sourcepub fn new(disk: Box<dyn Disk>) -> Result<Self, Error>
pub fn new(disk: Box<dyn Disk>) -> Result<Self, Error>
Create a new FatFs using the given ReadWriteSeek as the disk.
pub fn filesystem(&self) -> &FatFilesystem
pub fn is_present(&self) -> bool
Sourcepub fn get_root(&self) -> Result<Arc<FatDirectory>, Status>
pub fn get_root(&self) -> Result<Arc<FatDirectory>, Status>
Get the root directory of this filesystem. The caller must call close() on the returned entry when it’s finished with it.
pub async fn handle_admin( &self, scope: &ExecutionScope, req: AdminRequest, ) -> Option<AdminShutdownResponder>
Auto Trait Implementations§
impl Freeze for FatFs
impl !RefUnwindSafe for FatFs
impl Send for FatFs
impl Sync for FatFs
impl Unpin for FatFs
impl !UnwindSafe for FatFs
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