pub enum CmdOptionsError {
StdoutConfigurationConflict(MessagingType, LoggingType),
}
Expand description
Enum returned from fallible CmdOptions
methods.
Variants§
StdoutConfigurationConflict(MessagingType, LoggingType)
Standard output can only be used for logging or messaging, but not both.
When you need to use both functionalities, then configure message output as MessagingType::NamedPipe
.
For more information, see CmdOptions::set_message_output
or CmdOptions::set_logging_type
.
Trait Implementations§
Source§impl Debug for CmdOptionsError
impl Debug for CmdOptionsError
Source§impl Display for CmdOptionsError
impl Display for CmdOptionsError
Source§impl Error for CmdOptionsError
impl Error for CmdOptionsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CmdOptionsError
impl RefUnwindSafe for CmdOptionsError
impl Send for CmdOptionsError
impl Sync for CmdOptionsError
impl Unpin for CmdOptionsError
impl UnwindSafe for CmdOptionsError
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