Enum shadow_rs::ShadowError
source · 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