pub struct ToolOutputError(pub String);Expand description
The tool produced output we could not parse.
Raised rather than swallowed: unparseable output means we do not know whether the file is clean, and guessing “clean” is the failure this module exists to prevent.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ToolOutputError
impl Clone for ToolOutputError
Source§fn clone(&self) -> ToolOutputError
fn clone(&self) -> ToolOutputError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolOutputError
impl Debug for ToolOutputError
Source§impl Display for ToolOutputError
impl Display for ToolOutputError
impl Eq for ToolOutputError
Source§impl Error for ToolOutputError
impl Error for ToolOutputError
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()
Source§impl PartialEq for ToolOutputError
impl PartialEq for ToolOutputError
impl StructuralPartialEq for ToolOutputError
Auto Trait Implementations§
impl Freeze for ToolOutputError
impl RefUnwindSafe for ToolOutputError
impl Send for ToolOutputError
impl Sync for ToolOutputError
impl Unpin for ToolOutputError
impl UnsafeUnpin for ToolOutputError
impl UnwindSafe for ToolOutputError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.