pub enum InMemoryFile {
File {
mode: u32,
contents: Vec<u8>,
},
Directory {
mode: u32,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InMemoryFile
impl Clone for InMemoryFile
Source§fn clone(&self) -> InMemoryFile
fn clone(&self) -> InMemoryFile
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InMemoryFile
impl Debug for InMemoryFile
Source§impl PartialEq for InMemoryFile
impl PartialEq for InMemoryFile
impl StructuralPartialEq for InMemoryFile
Auto Trait Implementations§
impl Freeze for InMemoryFile
impl RefUnwindSafe for InMemoryFile
impl Send for InMemoryFile
impl Sync for InMemoryFile
impl Unpin for InMemoryFile
impl UnwindSafe for InMemoryFile
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