#[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.

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

Open the root directory on a volume.

Errors
  • uefi::Status::UNSUPPORTED - The volume does not support the requested filesystem type
  • uefi::Status::NO_MEDIA - The device has no media
  • uefi::Status::DEVICE_ERROR - The device reported an error
  • uefi::Status::VOLUME_CORRUPTED - The file system structures are corrupted
  • uefi::Status::ACCESS_DENIED - The service denied access to the file
  • uefi::Status::OUT_OF_RESOURCES - The volume was not opened
  • uefi::Status::MEDIA_CHANGED - The device has a different medium in it

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Create a const pointer to a Protocol from a c_void pointer. Read more

Create a mutable pointer to a Protocol from a c_void pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.