Struct anchor_client::RequestBuilder [−][src]
pub struct RequestBuilder<'a> { /* fields omitted */ }
Expand description
RequestBuilder
provides a builder interface to create and send
transactions to a cluster.
Implementations
pub fn from(
program_id: Pubkey,
cluster: &str,
payer: Keypair,
options: Option<CommitmentConfig>,
namespace: RequestNamespace
) -> Self
Invokes the #[state]
’s new
constructor.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RequestBuilder<'a>
impl<'a> !Send for RequestBuilder<'a>
impl<'a> !Sync for RequestBuilder<'a>
impl<'a> Unpin for RequestBuilder<'a>
impl<'a> !UnwindSafe for RequestBuilder<'a>
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
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more