pub enum RefrainError {
Parse(String),
Rewrite(String),
Adapter(String),
Io(Error),
Serde(Error),
}Variants§
Trait Implementations§
Source§impl Debug for RefrainError
impl Debug for RefrainError
Source§impl Display for RefrainError
impl Display for RefrainError
Source§impl Error for RefrainError
impl Error for RefrainError
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 From<Error> for RefrainError
impl From<Error> for RefrainError
Auto Trait Implementations§
impl Freeze for RefrainError
impl !RefUnwindSafe for RefrainError
impl Send for RefrainError
impl Sync for RefrainError
impl Unpin for RefrainError
impl UnsafeUnpin for RefrainError
impl !UnwindSafe for RefrainError
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