pub struct ModuleFConfig {
pub listen_addr: String,
pub workers: usize,
pub target_path: PathBuf,
pub group_bytes: usize,
pub compaction_threshold: usize,
pub flush_interval_ms: u64,
pub default_bucket: String,
pub access_key: String,
pub secret_key: String,
pub allow_file_fallback: bool,
pub require_io_uring: bool,
}Fields§
§listen_addr: String§workers: usize§target_path: PathBuf§group_bytes: usize§compaction_threshold: usize§flush_interval_ms: u64§default_bucket: String§access_key: String§secret_key: String§allow_file_fallback: bool§require_io_uring: boolTrait Implementations§
Source§impl Clone for ModuleFConfig
impl Clone for ModuleFConfig
Source§fn clone(&self) -> ModuleFConfig
fn clone(&self) -> ModuleFConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModuleFConfig
impl RefUnwindSafe for ModuleFConfig
impl Send for ModuleFConfig
impl Sync for ModuleFConfig
impl Unpin for ModuleFConfig
impl UnsafeUnpin for ModuleFConfig
impl UnwindSafe for ModuleFConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more