pub fn read_entry(&self) -> LxResult<String> {
        let mut inner = self.inner.write();
        if !inner.flags.readable() {
            return Err(LxError::EBADF);
        }
        let name = inner.inode.get_entry(inner.offset as usize)?;
        inner.offset += 1;
        Ok(name)
    }
/// get the name of dir entry
get the name of dir entry
get the name of dir entry
pub fn read_entry(&self) -> LxResult<String> {
        let mut inner = self.inner.write();
        if !inner.flags.readable() {
            return Err(LxError::EBADF);
        }
        let name = inner.inode.get_entry(inner.offset as usize)?;
        inner.offset += 1;
        Ok(name)
    }
pub fn read_entry ( & self ) -> LxResult < String > { let mut inner = self . inner . write ( ) ; if ! inner . flags . readable ( ) { return Err ( LxError :: EBADF ) ; } let name = inner . inode . get_entry ( inner . offset as usize ) ? ; inner . offset += 1 ; Ok ( name ) }
get the name of dir entry
get the name of dir entry
&self
&self