Variants
Write
Write program data into an account
- key[0] - the account to write into.
The transaction must be signed by key[0]
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]
Trait Implementations
sourceimpl Clone for LoaderInstruction
impl Clone for LoaderInstruction
sourcefn clone(&self) -> LoaderInstruction
fn clone(&self) -> LoaderInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LoaderInstruction
impl Debug for LoaderInstruction
sourceimpl<'de> Deserialize<'de> for LoaderInstruction
impl<'de> Deserialize<'de> for LoaderInstruction
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<LoaderInstruction> for LoaderInstruction
impl PartialEq<LoaderInstruction> for LoaderInstruction
sourcefn eq(&self, other: &LoaderInstruction) -> bool
fn eq(&self, other: &LoaderInstruction) -> bool
sourceimpl Serialize for LoaderInstruction
impl Serialize for LoaderInstruction
impl Eq for LoaderInstruction
impl StructuralEq for LoaderInstruction
impl StructuralPartialEq for LoaderInstruction
Auto Trait Implementations
impl RefUnwindSafe for LoaderInstruction
impl Send for LoaderInstruction
impl Sync for LoaderInstruction
impl Unpin for LoaderInstruction
impl UnwindSafe for LoaderInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more