Expand description
A wrapper for the data stored in TestStateEntry
, which is used to match
the semantics of the host functions. Specifically, it is used to ensure that
interactions with a deleted entry result in a error.
Variants
EntryDeleted
The entry has been deleted.
EntryExists(Vec<u8>)
The entry exists and has data.
Trait Implementations
sourceimpl Clone for TestStateEntryData
impl Clone for TestStateEntryData
sourcefn clone(&self) -> TestStateEntryData
fn clone(&self) -> TestStateEntryData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TestStateEntryData
impl Debug for TestStateEntryData
Auto Trait Implementations
impl RefUnwindSafe for TestStateEntryData
impl Send for TestStateEntryData
impl Sync for TestStateEntryData
impl Unpin for TestStateEntryData
impl UnwindSafe for TestStateEntryData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more