Enum smf::PropertyError [−][src]
pub enum PropertyError { ParseError(PropertyParseError), Command(Error), CommandOutput(CommandOutputError), }
Errors which can be returned when querying properties.
Variants
ParseError(PropertyParseError)
Failure to parse.
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 PropertyError
[src]
impl Debug for PropertyError
[src]impl Display for PropertyError
[src]
impl Display for PropertyError
[src]impl Error for PropertyError
[src]
impl Error for PropertyError
[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 PropertyError
[src]
impl From<CommandOutputError> for PropertyError
[src]fn from(source: CommandOutputError) -> Self
[src]
fn from(source: CommandOutputError) -> Self
[src]Performs the conversion.
impl From<PropertyParseError> for PropertyError
[src]
impl From<PropertyParseError> for PropertyError
[src]fn from(source: PropertyParseError) -> Self
[src]
fn from(source: PropertyParseError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PropertyError
impl Send for PropertyError
impl Sync for PropertyError
impl Unpin for PropertyError
impl !UnwindSafe for PropertyError
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