#[repr(C)]pub struct SimpleFileSystem { /* private fields */ }
Expand description
Allows access to a FAT-12/16/32 file system.
This interface is implemented by some storage devices to allow file access to the contained file systems.
Implementations
sourceimpl SimpleFileSystem
impl SimpleFileSystem
sourcepub fn open_volume(&mut self) -> Result<Directory>
pub fn open_volume(&mut self) -> Result<Directory>
Open the root directory on a volume.
Errors
uefi::Status::UNSUPPORTED
- The volume does not support the requested filesystem typeuefi::Status::NO_MEDIA
- The device has no mediauefi::Status::DEVICE_ERROR
- The device reported an erroruefi::Status::VOLUME_CORRUPTED
- The file system structures are corrupteduefi::Status::ACCESS_DENIED
- The service denied access to the fileuefi::Status::OUT_OF_RESOURCES
- The volume was not openeduefi::Status::MEDIA_CHANGED
- The device has a different medium in it
Trait Implementations
impl Protocol for SimpleFileSystem
impl !Send for SimpleFileSystem
impl !Sync for SimpleFileSystem
Auto Trait Implementations
impl RefUnwindSafe for SimpleFileSystem
impl Unpin for SimpleFileSystem
impl UnwindSafe for SimpleFileSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more