pub struct FsFileStore { /* private fields */ }Implementations§
Source§impl FsFileStore
impl FsFileStore
Trait Implementations§
Source§impl Default for FsFileStore
impl Default for FsFileStore
Source§impl FileStore for FsFileStore
impl FileStore for FsFileStore
fn read(&self, path: &Path) -> Result<String, XcStringsError>
fn read_bytes(&self, path: &Path) -> Result<Vec<u8>, XcStringsError>
fn write(&self, path: &Path, content: &str) -> Result<(), XcStringsError>
fn modified_time(&self, path: &Path) -> Result<SystemTime, XcStringsError>
fn exists(&self, path: &Path) -> bool
fn create_parent_dirs(&self, path: &Path) -> Result<(), XcStringsError>
Auto Trait Implementations§
impl Freeze for FsFileStore
impl RefUnwindSafe for FsFileStore
impl Send for FsFileStore
impl Sync for FsFileStore
impl Unpin for FsFileStore
impl UnsafeUnpin for FsFileStore
impl UnwindSafe for FsFileStore
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