pub struct Snapshot { /* private fields */ }
Expand description
A helper to work with stored snapshots.
Implementations
Loads a snapshot from a file.
Returns the module name.
Returns the snapshot name.
The snapshot contents
The snapshot contents as a &str
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Snapshot
impl UnwindSafe for Snapshot
Blanket Implementations
Mutably borrows from an owned value. Read more