[][src]Struct uefi::fs::File

#[repr(C)]
pub struct File { pub Revision: u64, pub Open: extern "win64" fn(_: &mut File, NewHandle: &mut *mut File, FileName: *const u16, OpenMode: u64, Attributes: u64) -> Status, pub Close: extern "win64" fn(_: &mut File) -> Status, pub Delete: extern "win64" fn(_: &mut File) -> Status, pub Read: extern "win64" fn(_: &mut File, BufferSize: &mut usize, Buffer: *mut u8) -> Status, pub Write: extern "win64" fn(_: &mut File, BufferSize: &mut usize, Buffer: *const u8) -> Status, pub SetPosition: extern "win64" fn(_: &mut File, Position: u64) -> Status, pub GetPosition: extern "win64" fn(_: &mut File, Position: &mut u64) -> Status, pub GetInfo: extern "win64" fn(_: &mut File, InformationType: &Guid, BufferSize: &mut usize, Buffer: *mut u8) -> Status, pub SetInfo: extern "win64" fn(_: &mut File, InformationType: &Guid, BufferSize: &mut usize, Buffer: *const u8) -> Status, pub Flush: extern "win64" fn(_: &mut File) -> Status, }

Fields

Revision: u64Open: extern "win64" fn(_: &mut File, NewHandle: &mut *mut File, FileName: *const u16, OpenMode: u64, Attributes: u64) -> StatusClose: extern "win64" fn(_: &mut File) -> StatusDelete: extern "win64" fn(_: &mut File) -> StatusRead: extern "win64" fn(_: &mut File, BufferSize: &mut usize, Buffer: *mut u8) -> StatusWrite: extern "win64" fn(_: &mut File, BufferSize: &mut usize, Buffer: *const u8) -> StatusSetPosition: extern "win64" fn(_: &mut File, Position: u64) -> StatusGetPosition: extern "win64" fn(_: &mut File, Position: &mut u64) -> StatusGetInfo: extern "win64" fn(_: &mut File, InformationType: &Guid, BufferSize: &mut usize, Buffer: *mut u8) -> StatusSetInfo: extern "win64" fn(_: &mut File, InformationType: &Guid, BufferSize: &mut usize, Buffer: *const u8) -> StatusFlush: extern "win64" fn(_: &mut File) -> Status

Auto Trait Implementations

impl Send for File

impl Sync for File

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]