pub struct LogArgs {
pub log_segments_directory: PathBuf,
pub log_cleaner_interval: u64,
pub log_maximum_entries: u32,
pub flush_policy_num_writes: Option<u64>,
pub flush_policy_interval: u64,
pub subscriber_polling_interval: u64,
}Fields§
§log_segments_directory: PathBufPath to directory to store log segments.
log_cleaner_interval: u64Interval in seconds to poll log cleaner task - default to 5 minutes.
log_maximum_entries: u32Maximum number of entries per log segment.
flush_policy_num_writes: Option<u64>Number of writes before flushing log to filesystem.
flush_policy_interval: u64Interval in millis to asynchronously flush log to filesystem.
subscriber_polling_interval: u64Subscriber polling interval in milliseconds.
Trait Implementations§
Source§impl Args for LogArgs
impl Args for LogArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for LogArgs
impl FromArgMatches for LogArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for LogArgs
impl RefUnwindSafe for LogArgs
impl Send for LogArgs
impl Sync for LogArgs
impl Unpin for LogArgs
impl UnwindSafe for LogArgs
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