[−][src]Enum solana_sdk::loader_instruction::LoaderInstruction
Variants
Write
Write program data into an account
- key[0] - the account to write into.
The transaction must be signed by key[0]
Fields of Write
Finalize
Finalize an account loaded with program data for execution. The exact preparation steps is loader specific but on success the loader must set the executable bit of the Account
- key[0] - the account to prepare for execution
The transaction must be signed by key[0]
InvokeMain
Invoke the "main" entrypoint with the given data.
- key[0] - an executable account
Fields of InvokeMain
Trait Implementations
impl PartialEq<LoaderInstruction> for LoaderInstruction
[src]
fn eq(&self, other: &LoaderInstruction) -> bool
[src]
fn ne(&self, other: &LoaderInstruction) -> bool
[src]
impl Clone for LoaderInstruction
[src]
fn clone(&self) -> LoaderInstruction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for LoaderInstruction
[src]
impl Debug for LoaderInstruction
[src]
impl Serialize for LoaderInstruction
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for LoaderInstruction
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for LoaderInstruction
impl Unpin for LoaderInstruction
impl Sync for LoaderInstruction
impl UnwindSafe for LoaderInstruction
impl RefUnwindSafe for LoaderInstruction
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self