pub struct Executor<'a, LR: LineReader> {
pub stdin: LR,
pub program_id: Option<Pubkey>,
pub accounts: Vec<AccountInfo<'a>>,
pub account_keys: Vec<Pubkey>,
}Fields§
§stdin: LR§program_id: Option<Pubkey>§accounts: Vec<AccountInfo<'a>>§account_keys: Vec<Pubkey>Implementations§
Source§impl<'a, LR> Executor<'a, LR>where
LR: LineReader,
impl<'a, LR> Executor<'a, LR>where
LR: LineReader,
pub fn create_with_stdin(stdin: LR) -> Self
pub fn get_processor_args<F>(&'a mut self, closure_fn: F)
Auto Trait Implementations§
impl<'a, LR> Freeze for Executor<'a, LR>where
LR: Freeze,
impl<'a, LR> !RefUnwindSafe for Executor<'a, LR>
impl<'a, LR> !Send for Executor<'a, LR>
impl<'a, LR> !Sync for Executor<'a, LR>
impl<'a, LR> Unpin for Executor<'a, LR>where
LR: Unpin,
impl<'a, LR> !UnwindSafe for Executor<'a, LR>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more