Struct fluvio_spu::SpuOpt[][src]

pub struct SpuOpt {
    pub id: Option<i32>,
    pub bind_public: Option<String>,
    pub bind_private: Option<String>,
    pub sc_addr: Option<String>,
    pub log_base_dir: Option<String>,
    pub log_size: Option<String>,
    pub index_max_bytes: Option<u32>,
    pub index_max_interval_bytes: Option<u32>,
    pub peer_max_bytes: u32,
    // some fields omitted
}

cli options

Fields

id: Option<i32>

SPU unique identifier

bind_public: Option<String>

Spu server for external communication

bind_private: Option<String>

Spu server for internal cluster communication

sc_addr: Option<String>

Address of the SC Server

log_base_dir: Option<String>log_size: Option<String>index_max_bytes: Option<u32>index_max_interval_bytes: Option<u32>peer_max_bytes: u32

max bytes to transfer between leader and follower

Implementations

impl SpuOpt[src]

pub fn process_spu_cli_or_exit(
    self
) -> (SpuConfig, Option<(TlsAcceptor, String)>)
[src]

Trait Implementations

impl Debug for SpuOpt[src]

impl Default for SpuOpt[src]

impl StructOpt for SpuOpt[src]

impl StructOptInternal for SpuOpt[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]