Skip to main content

CommandBuilderExt

Trait CommandBuilderExt 

Source
pub trait CommandBuilderExt: GatewayClient + Sized {
    // Provided method
    fn command(
        &self,
        domain: impl Into<String>,
        root: Uuid,
    ) -> CommandBuilder<'_, Self> { ... }
}
Expand description

Extension trait for creating command builders.

Provided Methods§

Source

fn command( &self, domain: impl Into<String>, root: Uuid, ) -> CommandBuilder<'_, Self>

Start building a command for the given domain and root.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§