pub enum SolanaExecutableLoaderV1 {
BpfLoaderV2(SolanaBpfLoaderV2IdentityV1),
BpfUpgradeableLoader(SolanaBpfUpgradeableLoaderIdentityV1),
}Variants§
BpfLoaderV2(SolanaBpfLoaderV2IdentityV1)
BpfUpgradeableLoader(SolanaBpfUpgradeableLoaderIdentityV1)
Implementations§
Source§impl SolanaExecutableLoaderV1
impl SolanaExecutableLoaderV1
pub fn bpf_loader_v2( executable_payload_sha256: impl Into<String>, ) -> Result<Self, HashError>
pub fn bpf_upgradeable_loader( program_data_address: impl Into<String>, deployment_slot: u64, upgrade_authority: SolanaUpgradeAuthorityV1, executable_payload_sha256: impl Into<String>, ) -> Result<Self, HashError>
Trait Implementations§
Source§impl Clone for SolanaExecutableLoaderV1
impl Clone for SolanaExecutableLoaderV1
Source§fn clone(&self) -> SolanaExecutableLoaderV1
fn clone(&self) -> SolanaExecutableLoaderV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SolanaExecutableLoaderV1
impl Debug for SolanaExecutableLoaderV1
Source§impl<'de> Deserialize<'de> for SolanaExecutableLoaderV1
impl<'de> Deserialize<'de> for SolanaExecutableLoaderV1
Source§fn 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
impl Eq for SolanaExecutableLoaderV1
Source§impl PartialEq for SolanaExecutableLoaderV1
impl PartialEq for SolanaExecutableLoaderV1
Source§impl Serialize for SolanaExecutableLoaderV1
impl Serialize for SolanaExecutableLoaderV1
impl StructuralPartialEq for SolanaExecutableLoaderV1
Auto Trait Implementations§
impl Freeze for SolanaExecutableLoaderV1
impl RefUnwindSafe for SolanaExecutableLoaderV1
impl Send for SolanaExecutableLoaderV1
impl Sync for SolanaExecutableLoaderV1
impl Unpin for SolanaExecutableLoaderV1
impl UnsafeUnpin for SolanaExecutableLoaderV1
impl UnwindSafe for SolanaExecutableLoaderV1
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