pub enum SnapshotDataKind {
WasmModule {
offset: u64,
size: u64,
},
MainMemory {
offset: u64,
size: u64,
},
StableMemory {
offset: u64,
size: u64,
},
WasmChunk {
hash: Vec<u8>,
},
}Expand description
Snapshot data kind.
Variants§
Trait Implementations§
Source§impl CandidType for SnapshotDataKind
impl CandidType for SnapshotDataKind
Source§impl Clone for SnapshotDataKind
impl Clone for SnapshotDataKind
Source§fn clone(&self) -> SnapshotDataKind
fn clone(&self) -> SnapshotDataKind
Returns a duplicate 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 SnapshotDataKind
impl Debug for SnapshotDataKind
Source§impl<'de> Deserialize<'de> for SnapshotDataKind
impl<'de> Deserialize<'de> for SnapshotDataKind
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
Auto Trait Implementations§
impl Freeze for SnapshotDataKind
impl RefUnwindSafe for SnapshotDataKind
impl Send for SnapshotDataKind
impl Sync for SnapshotDataKind
impl Unpin for SnapshotDataKind
impl UnwindSafe for SnapshotDataKind
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