Struct switchbaord_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 AccountType
impl Send for AccountType
impl Sync for AccountType
impl Unpin for AccountType
impl UnwindSafe for AccountType