Struct daml_grpc::DamlGrpcClient
source · [−]pub struct DamlGrpcClient { /* private fields */ }Expand description
Daml ledger client connection.
Implementations
sourceimpl DamlGrpcClient
impl DamlGrpcClient
sourcepub async fn connect(config: DamlGrpcClientConfig) -> DamlResult<Self>
pub async fn connect(config: DamlGrpcClientConfig) -> DamlResult<Self>
Create a channel and connect.
sourcepub async fn reset_and_wait(self) -> DamlResult<Self>
pub async fn reset_and_wait(self) -> DamlResult<Self>
Reset the ledger and reconnect.
sourcepub fn ledger_identity(&self) -> &str
pub fn ledger_identity(&self) -> &str
DOCME
sourcepub fn ledger_identity_service(&self) -> DamlLedgerIdentityService<'_>
pub fn ledger_identity_service(&self) -> DamlLedgerIdentityService<'_>
DOCME
sourcepub fn ledger_configuration_service(&self) -> DamlLedgerConfigurationService<'_>
pub fn ledger_configuration_service(&self) -> DamlLedgerConfigurationService<'_>
DOCME
sourcepub fn package_service(&self) -> DamlPackageService<'_>
pub fn package_service(&self) -> DamlPackageService<'_>
DOCME
sourcepub fn command_submission_service(&self) -> DamlCommandSubmissionService<'_>
pub fn command_submission_service(&self) -> DamlCommandSubmissionService<'_>
DOCME
sourcepub fn command_completion_service(&self) -> DamlCommandCompletionService<'_>
pub fn command_completion_service(&self) -> DamlCommandCompletionService<'_>
DOCME
sourcepub fn command_service(&self) -> DamlCommandService<'_>
pub fn command_service(&self) -> DamlCommandService<'_>
DOCME
sourcepub fn transaction_service(&self) -> DamlTransactionService<'_>
pub fn transaction_service(&self) -> DamlTransactionService<'_>
DOCME
sourcepub fn active_contract_service(&self) -> DamlActiveContractsService<'_>
pub fn active_contract_service(&self) -> DamlActiveContractsService<'_>
DOCME
sourcepub fn version_service(&self) -> DamlVersionService<'_>
pub fn version_service(&self) -> DamlVersionService<'_>
DOCME
sourcepub fn package_management_service(&self) -> DamlPackageManagementService<'_>
pub fn package_management_service(&self) -> DamlPackageManagementService<'_>
DOCME
sourcepub fn party_management_service(&self) -> DamlPartyManagementService<'_>
pub fn party_management_service(&self) -> DamlPartyManagementService<'_>
DOCME
sourcepub fn config_management_service(&self) -> DamlConfigManagementService<'_>
pub fn config_management_service(&self) -> DamlConfigManagementService<'_>
DOCME
sourcepub fn participant_pruning_service(&self) -> DamlParticipantPruningService<'_>
pub fn participant_pruning_service(&self) -> DamlParticipantPruningService<'_>
DOCME
sourcepub fn reset_service(&self) -> DamlResetService<'_>
pub fn reset_service(&self) -> DamlResetService<'_>
DOCME
sourcepub fn time_service(&self) -> DamlTimeService<'_>
pub fn time_service(&self) -> DamlTimeService<'_>
DOCME
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DamlGrpcClient
impl Send for DamlGrpcClient
impl Sync for DamlGrpcClient
impl Unpin for DamlGrpcClient
impl !UnwindSafe for DamlGrpcClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcepub fn into_request(self) -> Request<T>
pub fn into_request(self) -> Request<T>
Wrap the input message T in a tonic::Request
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more