[][src]Trait sunrise_fs::interface::filesystem::DirectoryOperations

pub trait DirectoryOperations: Debug + Sync + Send {
    fn read(&mut self, buf: &mut [DirectoryEntry]) -> LibUserResult<u64>;
fn entry_count(&self) -> LibUserResult<u64>; }

Represent the operation on a directory.

Required methods

fn read(&mut self, buf: &mut [DirectoryEntry]) -> LibUserResult<u64>

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

fn entry_count(&self) -> LibUserResult<u64>

Return the count of entries in the directory.

Loading content...

Implementors

impl DirectoryOperations for DirectoryInterface[src]

Loading content...