Struct riot_wrappers::vfs::MountIter
source · pub struct MountIter { /* private fields */ }
Available on
riot_module_vfs
only.Expand description
Lending iterator over all mount points
Note that while looking like an iterator, this does not actually implement Iterator – it
can’t, for not all the items it produces necessarily live long enough. (It could if there were
an fdup
for directories, but then again that’d be wasteful for the typical case where the
user doesn’t need the iterator’s long lifetime).
While LendingIterator
is not in the core library, this just implements something sufficiently
similar in the style of the
StreamingIterator (thus
avoiding GATs).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MountIter
impl !Send for MountIter
impl !Sync for MountIter
impl !Unpin for MountIter
impl UnwindSafe for MountIter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more