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 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