Struct anchor_client::Program [−][src]
pub struct Program { /* fields omitted */ }
Expand description
Program is the primary client handle to be used to build and send requests.
Implementations
Returns a request builder.
Returns a request builder for program state.
Returns the account at the given address.
pub fn on<T: Event + AnchorDeserialize>(
&self,
f: impl Fn(&EventContext, T) + Send + 'static
) -> Result<EventHandle, ClientError>
Auto Trait Implementations
impl RefUnwindSafe for Program
impl UnwindSafe for Program
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V