pub struct MemoryFileInfo {
pub data: Vec<u8>,
pub unix_mtime: Option<i64>,
}Expand description
Information about a file created or used inside the memory-backed I/O provider.
Fields§
§data: Vec<u8>Raw file bytes
unix_mtime: Option<i64>Last modification time of the in-memory file
Trait Implementations§
Source§impl Clone for MemoryFileInfo
impl Clone for MemoryFileInfo
Source§fn clone(&self) -> MemoryFileInfo
fn clone(&self) -> MemoryFileInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryFileInfo
impl Debug for MemoryFileInfo
impl Eq for MemoryFileInfo
Source§impl PartialEq for MemoryFileInfo
impl PartialEq for MemoryFileInfo
Source§fn eq(&self, other: &MemoryFileInfo) -> bool
fn eq(&self, other: &MemoryFileInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryFileInfo
Auto Trait Implementations§
impl Freeze for MemoryFileInfo
impl RefUnwindSafe for MemoryFileInfo
impl Send for MemoryFileInfo
impl Sync for MemoryFileInfo
impl Unpin for MemoryFileInfo
impl UnsafeUnpin for MemoryFileInfo
impl UnwindSafe for MemoryFileInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.