solana_account_decoder::parse_sysvar

Function parse_sysvar

source
pub fn parse_sysvar(
    data: &[u8],
    pubkey: &Pubkey,
) -> Result<SysvarAccountType, ParseAccountError>