pub struct IdbStateDump {
pub state_dump: HashMap<Vec<u8>, Vec<u8>>,
}
Fields§
§state_dump: HashMap<Vec<u8>, Vec<u8>>
Implementations§
Source§impl IdbStateDump
impl IdbStateDump
Sourcepub fn from(store: MemoryStorage) -> IdbStateDump
pub fn from(store: MemoryStorage) -> IdbStateDump
generates a state dump from all key-value pairs in MemoryStorage
Trait Implementations§
Source§impl Clone for IdbStateDump
impl Clone for IdbStateDump
Source§fn clone(&self) -> IdbStateDump
fn clone(&self) -> IdbStateDump
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IdbStateDump
impl Debug for IdbStateDump
Source§impl<'de> Deserialize<'de> for IdbStateDump
impl<'de> Deserialize<'de> for IdbStateDump
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 IdbStateDump
impl PartialEq for IdbStateDump
Source§impl Serialize for IdbStateDump
impl Serialize for IdbStateDump
impl StructuralPartialEq for IdbStateDump
Auto Trait Implementations§
impl Freeze for IdbStateDump
impl RefUnwindSafe for IdbStateDump
impl Send for IdbStateDump
impl Sync for IdbStateDump
impl Unpin for IdbStateDump
impl UnwindSafe for IdbStateDump
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