pub enum TestStateEntryData {
EntryDeleted,
EntryExists(Vec<u8>),
}
👎Deprecated since 8.1.0: Deprecated in favor of concordium-smart-contract-testing.
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
👎Deprecated since 8.1.0: Deprecated in favor of concordium-smart-contract-testing.
The entry has been deleted.
EntryExists(Vec<u8>)
👎Deprecated since 8.1.0: Deprecated in favor of concordium-smart-contract-testing.
The entry exists and has data.
Trait Implementations§
Source§impl Clone for TestStateEntryData
impl Clone for TestStateEntryData
Source§fn clone(&self) -> TestStateEntryData
fn clone(&self) -> TestStateEntryData
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 TestStateEntryData
impl Debug for TestStateEntryData
Auto Trait Implementations§
impl Freeze for TestStateEntryData
impl RefUnwindSafe for TestStateEntryData
impl Send for TestStateEntryData
impl Sync for TestStateEntryData
impl Unpin for TestStateEntryData
impl UnwindSafe for TestStateEntryData
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