pub struct MountedSpiffs<T> { /* private fields */ }Expand description
Represents a mounted SPIFFS filesystem.
Implementations§
Source§impl<T> MountedSpiffs<T>
impl<T> MountedSpiffs<T>
Sourcepub fn mount(spiffs: T, path: &str, max_fds: usize) -> Result<Self, EspError>where
T: BorrowMut<Spiffs>,
pub fn mount(spiffs: T, path: &str, max_fds: usize) -> Result<Self, EspError>where
T: BorrowMut<Spiffs>,
Mount a SPIFFS filesystem.
§Arguments
spiffs: The SPIFFS filesystem instance to mount.path: The path to mount the filesystem at.max_fds: The maximum number of file descriptors to allocate.
Trait Implementations§
Source§impl<T> Drop for MountedSpiffs<T>
Available on crate feature alloc only.
impl<T> Drop for MountedSpiffs<T>
Available on crate feature
alloc only.