Struct floppy_disk::mem::MemFloppyDisk
source · pub struct MemFloppyDisk { /* private fields */ }Implementations§
source§impl MemFloppyDisk
impl MemFloppyDisk
Trait Implementations§
source§impl Debug for MemFloppyDisk
impl Debug for MemFloppyDisk
source§impl<'a> FloppyDisk<'a> for MemFloppyDisk
impl<'a> FloppyDisk<'a> for MemFloppyDisk
type Metadata = MemMetadata
type ReadDir = MemReadDir
type Permissions = MemPermissions
type DirBuilder = MemDirBuilder<'a>
fn canonicalize<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<PathBuf>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn copy<'life0, 'async_trait, P>( &'life0 self, from: P, to: P ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn create_dir<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn create_dir_all<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn hard_link<'life0, 'async_trait, P>( &'life0 self, _src: P, _dst: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn metadata<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<Self::Metadata>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn read<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn read_dir<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<Self::ReadDir>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn read_link<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<PathBuf>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn read_to_string<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn remove_dir<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn remove_dir_all<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn remove_file<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn rename<'life0, 'async_trait, P>( &'life0 self, from: P, to: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn set_permissions<'life0, 'async_trait, P>( &'life0 mut self, path: P, perm: Self::Permissions ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn symlink<'life0, 'async_trait, P>( &'life0 self, src: P, dst: P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn symlink_metadata<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<Self::Metadata>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn try_exists<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn write<'life0, 'async_trait, P>( &'life0 self, path: P, contents: impl 'async_trait + AsRef<[u8]> + Send ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,
fn new_dir_builder(&'a self) -> Self::DirBuilder
Auto Trait Implementations§
impl !RefUnwindSafe for MemFloppyDisk
impl Send for MemFloppyDisk
impl Sync for MemFloppyDisk
impl Unpin for MemFloppyDisk
impl !UnwindSafe for MemFloppyDisk
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