solana_account_decoder::parse_stake

Function parse_stake

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