[go: up one dir, main page]

[][src]Struct redoxfs::DiskFile

pub struct DiskFile {
    pub file: File,
}

Fields

file: File

Methods

impl DiskFile[src]

pub fn open(path: &str) -> Result<DiskFile>[src]

pub fn create(path: &str, size: u64) -> Result<DiskFile>[src]

Trait Implementations

impl Disk for DiskFile[src]

Auto Trait Implementations

impl Send for DiskFile

impl Sync for DiskFile

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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