pub enum ExecutionEncoding {
Legacy,
New,
}
Expand description
How calldata for the __execute__
entrypoint is encoded.
Variants§
Legacy
Encode __execute__
calldata in Cairo 0 style, where calldata from all calls are concated
and appended at the end.
New
Encode __execute__
calldata in Cairo (1) style, where each call is self-contained.
Trait Implementations§
Source§impl Clone for ExecutionEncoding
impl Clone for ExecutionEncoding
Source§fn clone(&self) -> ExecutionEncoding
fn clone(&self) -> ExecutionEncoding
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 ExecutionEncoding
impl Debug for ExecutionEncoding
Source§impl PartialEq for ExecutionEncoding
impl PartialEq for ExecutionEncoding
impl Copy for ExecutionEncoding
impl Eq for ExecutionEncoding
impl StructuralPartialEq for ExecutionEncoding
Auto Trait Implementations§
impl Freeze for ExecutionEncoding
impl RefUnwindSafe for ExecutionEncoding
impl Send for ExecutionEncoding
impl Sync for ExecutionEncoding
impl Unpin for ExecutionEncoding
impl UnwindSafe for ExecutionEncoding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.