Struct clmm_common::init::CommonCli
source · [−]pub struct CommonCli { /* private fields */ }Implementations
sourceimpl CommonCli
impl CommonCli
pub fn new(program_id: Pubkey) -> CommonCli
pub fn parse_args(self, app: Box<dyn Matche>) -> Self
pub fn process_command(
self,
process_command: fn(config: &mut CliConfig, rpc_client: RpcClient, app: Box<dyn Matche>) -> ProcessResult,
app: Box<dyn Matche>
)
pub fn get_pubkey_for_program_with_seeds(self, seeds: &[&[u8]]) -> (Pubkey, u8)
Auto Trait Implementations
impl !RefUnwindSafe for CommonCli
impl !Send for CommonCli
impl !Sync for CommonCli
impl Unpin for CommonCli
impl !UnwindSafe for CommonCli
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more