Enum unc_vm_runner::logic::CompiledContract
source · pub enum CompiledContract {
CompileModuleError(CompilationError),
Code(Vec<u8>),
}Variants§
CompileModuleError(CompilationError)
Code(Vec<u8>)
Trait Implementations§
source§impl BorshDeserialize for CompiledContract
impl BorshDeserialize for CompiledContract
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for CompiledContract
impl BorshSerialize for CompiledContract
source§impl Clone for CompiledContract
impl Clone for CompiledContract
source§fn clone(&self) -> CompiledContract
fn clone(&self) -> CompiledContract
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 CompiledContract
impl Debug for CompiledContract
source§impl EnumExt for CompiledContract
impl EnumExt for CompiledContract
source§impl PartialEq for CompiledContract
impl PartialEq for CompiledContract
source§fn eq(&self, other: &CompiledContract) -> bool
fn eq(&self, other: &CompiledContract) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CompiledContract
Auto Trait Implementations§
impl RefUnwindSafe for CompiledContract
impl Send for CompiledContract
impl Sync for CompiledContract
impl Unpin for CompiledContract
impl UnwindSafe for CompiledContract
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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