pub enum MemNodeContent {
File {
data: Arc<RwLock<Vec<u8>>>,
},
Dir {
entries: RwLock<BTreeMap<String, Arc<MemVNode>>>,
},
SymLink {
target: String,
},
Device {
device: Arc<Device>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MemNodeContent
impl !RefUnwindSafe for MemNodeContent
impl Send for MemNodeContent
impl Sync for MemNodeContent
impl Unpin for MemNodeContent
impl !UnwindSafe for MemNodeContent
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