[][src]Trait sunrise_libuser::fs::IDirectory

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

Represent a directory in a filesystem.

Required methods

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

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

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

Return the count of entries in the directory.

Loading content...

Provided methods

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

Handle an incoming IPC request.

Loading content...

Implementors

Loading content...