logo
pub struct DamlConfigManagementService<'a> { /* private fields */ }
Expand description

Provides methods for the ledger administrator to change the current ledger configuration.

The services provides methods to modify different aspects of the configuration.

Implementations

Override the JWT token to use for this service.

Return the currently active time model and the current configuration generation.

The current configuration generation. The generation is a monotonically increasing integer that is incremented on each change. Used when setting the time model.

Set the ledger time model.

Errors

In case of failure this method responds with:

INVALID_ARGUMENT if arguments are invalid, or the provided configuration generation does not match the current active configuration generation. The caller is expected to retry by again fetching current time model using GetTimeModel, applying changes and resubmitting.

ABORTED if the request is rejected or times out. Note that a timed out request may have still been committed to the ledger. Application should re-query the current time model before retrying.

UNIMPLEMENTED if this method is not supported by the backing ledger.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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