Struct switchboard_utils::AccountType [−][src]
pub struct AccountType {}Implementations
pub fn check_account(
account: &AccountInfo<'_>,
type_indicator: SwitchboardAccountType
) -> Result<(), ProgramError>[src]pub fn check_account_buffer(
buf: &[u8],
type_indicator: SwitchboardAccountType
) -> Result<(), ProgramError>[src]pub fn strip_type_byte<'a>(
buf: &'a [u8],
type_indicator: SwitchboardAccountType
) -> Result<&'a [u8], ProgramError>[src]pub fn set_type_byte(
buf: &mut [u8],
type_indicator: SwitchboardAccountType
) -> Result<(), ProgramError>[src]Auto Trait Implementations
impl RefUnwindSafe for AccountTypeimpl Send for AccountTypeimpl Sync for AccountTypeimpl Unpin for AccountTypeimpl UnwindSafe for AccountType