Home
last modified time | relevance | path

Searched refs:DirEntry (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
H A Dasync_dir.rs521 type Entries = (Fuse<std::fs::ReadDir>, VecDeque<io::Result<DirEntry>>);
539 fn new(std_dir: Fuse<std::fs::ReadDir>, block: VecDeque<io::Result<DirEntry>>) -> ReadDir { in new()
545 block: &mut VecDeque<io::Result<DirEntry>>, in fill_block() argument
549 Ok(entry) => block.push_back(Ok(DirEntry(Arc::new(entry)))), in fill_block()
555 fn poll_next(&mut self, cx: &mut Context<'_>) -> Poll<io::Result<Option<DirEntry>>> { in poll_next() argument
612 pub async fn next(&mut self) -> io::Result<Option<DirEntry>> { in next() argument
622 pub struct DirEntry(Arc<std::fs::DirEntry>); struct
624 impl DirEntry { impl
/ohos5.0/base/security/asset/services/core_service/src/common_event/
H A Dlistener.rs20 fs::{self, DirEntry},
314 fn backup_de_db_if_accessible(entry: &DirEntry, user_id: i32) -> Result<()> { in backup_de_db_if_accessible() argument