[][src]Struct fluvio_storage::ConfigOption

pub struct ConfigOption {
    pub base_dir: PathBuf,
    pub index_max_bytes: Size,
    pub index_max_interval_bytes: Size,
    pub segment_max_bytes: Size,
}

Fields

base_dir: PathBufindex_max_bytes: Sizeindex_max_interval_bytes: Sizesegment_max_bytes: Size

Implementations

impl ConfigOption[src]

pub fn new(
    base_dir: PathBuf,
    index_max_bytes: u32,
    index_max_interval_bytes: u32,
    segment_max_bytes: u32
) -> Self
[src]

pub fn base_dir(self, dir: PathBuf) -> Self[src]

pub fn index_max_bytes(self, bytes: Size) -> Self[src]

pub fn segment_max_bytes(self, bytes: Size) -> Self[src]

Trait Implementations

impl Clone for ConfigOption[src]

impl Debug for ConfigOption[src]

impl Default for ConfigOption[src]

impl<'de> Deserialize<'de> for ConfigOption[src]

impl Display for ConfigOption[src]

impl PartialEq<ConfigOption> for ConfigOption[src]

impl StructuralPartialEq for ConfigOption[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.