solana_account_decoder::parse_sysvar

Function parse_sysvar

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