pub trait EscrowAccountInfoValidation {
// Required methods
fn is_bank(&self) -> Result<&Self, ProgramError>;
fn is_config(&self) -> Result<&Self, ProgramError>;
fn is_escrow(&self) -> Result<&Self, ProgramError>;
fn is_payment(&self) -> Result<&Self, ProgramError>;
}Required Methods§
fn is_bank(&self) -> Result<&Self, ProgramError>
fn is_config(&self) -> Result<&Self, ProgramError>
fn is_escrow(&self) -> Result<&Self, ProgramError>
fn is_payment(&self) -> Result<&Self, ProgramError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".