#[repr(C)]
pub struct SimpleFileSystem { pub revision: u64, /* private fields */ }
Expand description

Protocol for accessing a file system supported by UEFI (typically FAT).

Fields§

§revision: u64

Implemented revision of the SimpleFileSystem protocol.

Implementations§

Minimum supported SimpleFileSystem::revision. Future versions are guaranteed to be backwards-compatible.

Get a handle to the root of the file system.

Errors

This method can fail for many reasons, including standard I/O issues like device errors or resource exhaustion. It will also fail if the file system on the device is not supported by the UEFI implementation.

Panics

Panics if the firmware does not behave according to the spec.

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.

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.