#[repr(u8)]pub enum RoshiInstruction {
Show 22 variants
InitializeProgram(InitializeProgramArgs),
InitializeVault(InitializeVaultArgs),
AuthorizeAction(AuthorizeActionArgs),
RevokeAction(RevokeActionArgs),
Manage(ManageArgs),
ManageBatch(ManageBatchArgs),
ReportNav(ReportNavArgs),
Deposit(DepositArgs),
Redeem(RedeemArgs),
CancelRedeem(CancelRedeemArgs),
ProcessWithdrawals = 10,
UpdateVaultConfig(UpdateVaultConfigArgs),
InitializeAsset(InitializeAssetArgs),
UpdateAsset(UpdateAssetArgs),
SetPauseFlags(SetPauseFlagsArgs),
SetVaultAccess(SetVaultAccessArgs),
TransferProgramAuthority(TransferProgramAuthorityArgs),
TransferVaultAuthority(TransferVaultAuthorityArgs),
SetStrategist(SetStrategistArgs),
SetNavAuthority(SetNavAuthorityArgs),
SetWithdrawalAuthority(SetWithdrawalAuthorityArgs),
CollectFees(CollectFeesArgs),
}Variants§
InitializeProgram(InitializeProgramArgs)
InitializeVault(InitializeVaultArgs)
AuthorizeAction(AuthorizeActionArgs)
RevokeAction(RevokeActionArgs)
Manage(ManageArgs)
ManageBatch(ManageBatchArgs)
Deposit(DepositArgs)
Redeem(RedeemArgs)
CancelRedeem(CancelRedeemArgs)
ProcessWithdrawals = 10
UpdateVaultConfig(UpdateVaultConfigArgs)
InitializeAsset(InitializeAssetArgs)
UpdateAsset(UpdateAssetArgs)
SetPauseFlags(SetPauseFlagsArgs)
SetVaultAccess(SetVaultAccessArgs)
TransferProgramAuthority(TransferProgramAuthorityArgs)
TransferVaultAuthority(TransferVaultAuthorityArgs)
SetStrategist(SetStrategistArgs)
SetWithdrawalAuthority(SetWithdrawalAuthorityArgs)
CollectFees(CollectFeesArgs)
Implementations§
Auto Trait Implementations§
impl Freeze for RoshiInstruction
impl RefUnwindSafe for RoshiInstruction
impl Send for RoshiInstruction
impl Sync for RoshiInstruction
impl Unpin for RoshiInstruction
impl UnsafeUnpin for RoshiInstruction
impl UnwindSafe for RoshiInstruction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more