pub enum SlotValue {
Missing,
Null,
Value(ContractValue),
}Expand description
A value crossing a top-level call slot.
Null and Value(ContractValue::null()) are deliberately distinct. The
latter is useful when a descriptor-guided nested value is carried as data.
Variants§
Missing
No value was supplied.
Null
An explicit top-level null was supplied.
Value(ContractValue)
A present contract value was supplied.
Trait Implementations§
impl StructuralPartialEq for SlotValue
Auto Trait Implementations§
impl Freeze for SlotValue
impl RefUnwindSafe for SlotValue
impl Send for SlotValue
impl Sync for SlotValue
impl Unpin for SlotValue
impl UnsafeUnpin for SlotValue
impl UnwindSafe for SlotValue
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