pub struct MountIter {
dir: MaybeUninit<vfs_DIR>,
_phantom: PhantomPinned,
}
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).
Fields§
§dir: MaybeUninit<vfs_DIR>
§_phantom: PhantomPinned
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MountIter
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
Source§impl<T> IntoSwitch for T
impl<T> IntoSwitch for T
Source§fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
Source§fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes