Struct sst::log::LogOptions
source · pub struct LogOptions { /* private fields */ }
Expand description
Options used for creating and reading logs.
Trait Implementations§
source§impl Clone for LogOptions
impl Clone for LogOptions
source§fn clone(&self) -> LogOptions
fn clone(&self) -> LogOptions
Returns a copy 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 moresource§impl CommandLine for LogOptions
impl CommandLine for LogOptions
source§fn add_opts(&self, prefix: Option<&str>, opts: &mut Options)
fn add_opts(&self, prefix: Option<&str>, opts: &mut Options)
Add options to the getopts parser.
source§fn matches(&mut self, prefix: Option<&str>, matches: &Matches)
fn matches(&mut self, prefix: Option<&str>, matches: &Matches)
Assign values to self using the provided getopts matches.
source§fn canonical_command_line(&self, prefix: Option<&str>) -> Vec<String>
fn canonical_command_line(&self, prefix: Option<&str>) -> Vec<String>
Return the canonical command line for this CommandLine.
source§fn from_command_line(usage: &str) -> (Self, Vec<String>)
fn from_command_line(usage: &str) -> (Self, Vec<String>)
Parse from the command line. This function will panic if a non-canonical command line is
provided.
source§fn from_command_line_relaxed(usage: &str) -> (Self, Vec<String>)
fn from_command_line_relaxed(usage: &str) -> (Self, Vec<String>)
Parse from the command line. This function will allow a non-canonical command line to
execute.
source§fn from_arguments(usage: &str, args: &[&str]) -> (Self, Vec<String>)
fn from_arguments(usage: &str, args: &[&str]) -> (Self, Vec<String>)
Parse from the provided arguments. This function will panic if a non-canonical command
line is provided.
source§impl Debug for LogOptions
impl Debug for LogOptions
source§impl Default for LogOptions
impl Default for LogOptions
source§impl PartialEq for LogOptions
impl PartialEq for LogOptions
source§fn eq(&self, other: &LogOptions) -> bool
fn eq(&self, other: &LogOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LogOptions
impl StructuralPartialEq for LogOptions
Auto Trait Implementations§
impl RefUnwindSafe for LogOptions
impl Send for LogOptions
impl Sync for LogOptions
impl Unpin for LogOptions
impl UnwindSafe for LogOptions
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