Skip to main content

initialize_remoting_command_defaults

Function initialize_remoting_command_defaults 

Source
pub fn initialize_remoting_command_defaults(
    defaults: RemotingCommandDefaults,
) -> Result<(), RemotingCommandDefaultsConflict>
Expand description

Initializes the immutable defaults used by business command factories.

Repeating initialization with the same value is idempotent. A different value is rejected so wire defaults cannot change after command creation.

ยงErrors

Returns RemotingCommandDefaultsConflict when different defaults were initialized earlier in the process.