Enum rgbstd::vm::EntryPoint
source · pub enum EntryPoint {
ValidateGenesis,
ValidateTransition(u16),
ValidateExtension(u16),
ValidateGlobalState(u16),
ValidateOwnedState(u16),
}
Variants§
ValidateGenesis
ValidateTransition(u16)
ValidateExtension(u16)
ValidateGlobalState(u16)
ValidateOwnedState(u16)
Trait Implementations§
source§impl Clone for EntryPoint
impl Clone for EntryPoint
source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
Returns a copy 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 EntryPoint
impl Debug for EntryPoint
source§impl<'de> Deserialize<'de> for EntryPoint
impl<'de> Deserialize<'de> for EntryPoint
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EntryPoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<EntryPoint, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for EntryPoint
impl Hash for EntryPoint
source§impl Ord for EntryPoint
impl Ord for EntryPoint
source§fn cmp(&self, other: &EntryPoint) -> Ordering
fn cmp(&self, other: &EntryPoint) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EntryPoint> for EntryPoint
impl PartialEq<EntryPoint> for EntryPoint
source§fn eq(&self, other: &EntryPoint) -> bool
fn eq(&self, other: &EntryPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EntryPoint> for EntryPoint
impl PartialOrd<EntryPoint> for EntryPoint
source§fn partial_cmp(&self, other: &EntryPoint) -> Option<Ordering>
fn partial_cmp(&self, other: &EntryPoint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for EntryPoint
impl Serialize for EntryPoint
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl StrictDecode for EntryPoint
impl StrictDecode for EntryPoint
fn strict_decode(reader: &mut impl TypedRead) -> Result<EntryPoint, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictDumb for EntryPoint
impl StrictDumb for EntryPoint
fn strict_dumb() -> EntryPoint
source§impl StrictEncode for EntryPoint
impl StrictEncode for EntryPoint
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where W: TypedWrite,
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
source§impl StrictTuple for EntryPoint
impl StrictTuple for EntryPoint
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for EntryPoint
impl StrictType for EntryPoint
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB
fn strict_name() -> Option<TypeName>
impl Copy for EntryPoint
impl Eq for EntryPoint
impl StrictProduct for EntryPoint
impl StructuralEq for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.