pub enum ShadowError {
String(String),
}
Expand description
shadow-rs
build process errors.
This type wraps multiple kinds of underlying errors that can occur downstream of shadow-rs
, such as std::io::Error
.
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for ShadowError
impl Debug for ShadowError
Source§impl Display for ShadowError
impl Display for ShadowError
Source§impl Error for ShadowError
impl Error for ShadowError
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 From<&str> for ShadowError
impl From<&str> for ShadowError
Source§impl From<Error> for ShadowError
impl From<Error> for ShadowError
Source§impl From<FromUtf8Error> for ShadowError
impl From<FromUtf8Error> for ShadowError
Source§fn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ShadowError
impl From<ParseIntError> for ShadowError
Source§fn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<String> for ShadowError
impl From<String> for ShadowError
Auto Trait Implementations§
impl Freeze for ShadowError
impl RefUnwindSafe for ShadowError
impl Send for ShadowError
impl Sync for ShadowError
impl Unpin for ShadowError
impl UnwindSafe for ShadowError
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