pub fn save_state_to_buffer<T: MessageWrite>(
state: &T,
type_indicator: SwitchboardAccountType,
) -> Result<Vec<u8>, ProgramError>
pub fn save_state_to_buffer<T: MessageWrite>(
state: &T,
type_indicator: SwitchboardAccountType,
) -> Result<Vec<u8>, ProgramError>