pub enum LogOptions {
Log(PathBuf),
AutoLog,
LogAppend,
LogExternal,
}Variants§
Implementations§
Source§impl LogOptions
impl LogOptions
pub fn value_parser(arg: &str) -> Result<LogOptions, String>
pub fn to_string(&self, path: &str) -> String
Trait Implementations§
Source§impl Clone for LogOptions
impl Clone for LogOptions
Source§fn clone(&self) -> LogOptions
fn clone(&self) -> LogOptions
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 moreSource§impl Debug for LogOptions
impl Debug for LogOptions
Source§impl From<String> for LogOptions
impl From<String> for LogOptions
Source§impl PartialEq for LogOptions
impl PartialEq for LogOptions
Source§impl TryFrom<&str> for LogOptions
impl TryFrom<&str> for LogOptions
impl StructuralPartialEq for LogOptions
Auto Trait Implementations§
impl Freeze for LogOptions
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