[][src]Trait sunrise_libuser::fs::IDirectoryAsync

pub trait IDirectoryAsync {
    fn read<'a>(
        &'a mut self,
        work_queue: WorkQueue<'static>,
        unknown_0: &'a mut [DirectoryEntry]
    ) -> FutureObj<'a, Result<u64, Error>>;
fn get_entry_count<'a>(
        &'a mut self,
        work_queue: WorkQueue<'static>
    ) -> FutureObj<'a, Result<u64, Error>>; fn dispatch<'a>(
        &'a mut self,
        work_queue: WorkQueue<'static>,
        cmdid: u32,
        buf: &'a mut [u8]
    ) -> FutureObj<Result<(), Error>> { ... } }

Represent a directory in a filesystem.

Required methods

fn read<'a>(
    &'a mut self,
    work_queue: WorkQueue<'static>,
    unknown_0: &'a mut [DirectoryEntry]
) -> FutureObj<'a, Result<u64, Error>>

Read the next directory entries and return the number of entries read.

fn get_entry_count<'a>(
    &'a mut self,
    work_queue: WorkQueue<'static>
) -> FutureObj<'a, Result<u64, Error>>

Return the count of entries in the directory.

Loading content...

Provided methods

fn dispatch<'a>(
    &'a mut self,
    work_queue: WorkQueue<'static>,
    cmdid: u32,
    buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>

Handle an incoming IPC request.

Loading content...

Implementors

Loading content...