pub struct ExportBundle {
pub chunks: Vec<MemoryChunk>,
pub sessions: Vec<MemorySession>,
pub evictions: Vec<EvictionEntry>,
pub accesses: Vec<AccessEntry>,
}Expand description
Result of crate::MemoryProvider::export. JSON-serializable; the caller is
responsible for writing it to disk as .tar.gz, .json, or another archive
format.
Fields§
§chunks: Vec<MemoryChunk>Exported chunks.
sessions: Vec<MemorySession>Sessions referenced by the chunks (when include_sessions=true).
evictions: Vec<EvictionEntry>Eviction log entries (when include_eviction_log=true).
accesses: Vec<AccessEntry>Access log entries (when include_access_log=true).
Trait Implementations§
Source§impl Clone for ExportBundle
impl Clone for ExportBundle
Source§fn clone(&self) -> ExportBundle
fn clone(&self) -> ExportBundle
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 ExportBundle
impl Debug for ExportBundle
Source§impl Default for ExportBundle
impl Default for ExportBundle
Source§fn default() -> ExportBundle
fn default() -> ExportBundle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExportBundle
impl<'de> Deserialize<'de> for ExportBundle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExportBundle
impl PartialEq for ExportBundle
Source§fn eq(&self, other: &ExportBundle) -> bool
fn eq(&self, other: &ExportBundle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExportBundle
impl Serialize for ExportBundle
impl StructuralPartialEq for ExportBundle
Auto Trait Implementations§
impl Freeze for ExportBundle
impl RefUnwindSafe for ExportBundle
impl Send for ExportBundle
impl Sync for ExportBundle
impl Unpin for ExportBundle
impl UnsafeUnpin for ExportBundle
impl UnwindSafe for ExportBundle
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