solana_account_decoder::parse_stake

Function parse_stake

source
pub fn parse_stake(data: &[u8]) -> Result<StakeAccountType, ParseAccountError>