risingwave_common::opts

Trait Opts

source
pub trait Opts {
    // Required methods
    fn name() -> &'static str;
    fn meta_addr(&self) -> MetaAddressStrategy;
}
Expand description

Accessor trait for a component’s command-line options.

Required Methods§

source

fn name() -> &'static str

The name of the component.

source

fn meta_addr(&self) -> MetaAddressStrategy

The address to the meta node.

Object Safety§

This trait is not object safe.

Implementors§