Enum smf::ConfigError [−][src]
pub enum ConfigError { Command(Error), CommandOutput(CommandOutputError), }
The error code for any operation that fails during a config command.
Variants
Command(Error)
Failure to execute a subcommand.
CommandOutput(CommandOutputError)
Failure reading a command’s stdout (or non-zero error code).
Trait Implementations
impl Debug for ConfigError
[src]
impl Debug for ConfigError
[src]impl Display for ConfigError
[src]
impl Display for ConfigError
[src]impl Error for ConfigError
[src]
impl Error for ConfigError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<CommandOutputError> for ConfigError
[src]
impl From<CommandOutputError> for ConfigError
[src]fn from(source: CommandOutputError) -> Self
[src]
fn from(source: CommandOutputError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl !UnwindSafe for ConfigError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more