pub enum ErrorStyle {
ThisError,
Anyhow,
Standard,
Unknown,
}Expand description
The error handling style inferred from dependencies.
Variants§
ThisError
The repo prefers thiserror.
Anyhow
The repo prefers anyhow.
Standard
The repo uses hand-rolled error types or standard errors.
Unknown
The style has not been established yet.
Trait Implementations§
Source§impl Clone for ErrorStyle
impl Clone for ErrorStyle
Source§fn clone(&self) -> ErrorStyle
fn clone(&self) -> ErrorStyle
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 ErrorStyle
impl Debug for ErrorStyle
Source§impl<'de> Deserialize<'de> for ErrorStyle
impl<'de> Deserialize<'de> for ErrorStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ErrorStyle
impl PartialEq for ErrorStyle
Source§impl Serialize for ErrorStyle
impl Serialize for ErrorStyle
impl Copy for ErrorStyle
impl Eq for ErrorStyle
impl StructuralPartialEq for ErrorStyle
Auto Trait Implementations§
impl Freeze for ErrorStyle
impl RefUnwindSafe for ErrorStyle
impl Send for ErrorStyle
impl Sync for ErrorStyle
impl Unpin for ErrorStyle
impl UnsafeUnpin for ErrorStyle
impl UnwindSafe for ErrorStyle
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.