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.
§Accessing SimpleFileSystem
protocol
Use BootServices::get_image_file_system
to retrieve the SimpleFileSystem
protocol associated with a given image handle.
See the BootServices
documentation for more details of how to open a protocol.
Implementations§
source§impl 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
See section EFI_SIMPLE_FILE_SYSTEM_PROTOCOL.OpenVolume()
in the UEFI Specification
for more details.
If you can’t find the function definition, try searching for
EFI_SIMPLE_FILE SYSTEM_PROTOCOL.OpenVolume()
(this has a space in between FILE and
SYSTEM; it could be a typo in the UEFI spec).
Trait Implementations§
source§impl Debug for SimpleFileSystem
impl Debug for SimpleFileSystem
source§impl Identify for SimpleFileSystem
impl Identify for SimpleFileSystem
impl Protocol for SimpleFileSystem
Auto Trait Implementations§
impl Freeze for SimpleFileSystem
impl RefUnwindSafe for SimpleFileSystem
impl Send for SimpleFileSystem
impl Sync for SimpleFileSystem
impl Unpin for SimpleFileSystem
impl UnwindSafe for SimpleFileSystem
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