Enum shadow_rs::ShadowError
source · [−]pub enum ShadowError {
String(String),
}
Variants
String(String)
Implementations
sourceimpl ShadowError
impl ShadowError
Trait Implementations
sourceimpl Debug for ShadowError
impl Debug for ShadowError
sourceimpl Display for ShadowError
impl Display for ShadowError
sourceimpl Error for ShadowError
impl Error for ShadowError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<&str> for ShadowError
impl From<&str> for ShadowError
sourceimpl From<Error> for ShadowError
impl From<Error> for ShadowError
sourceimpl From<FromUtf8Error> for ShadowError
impl From<FromUtf8Error> for ShadowError
sourcefn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<ParseIntError> for ShadowError
impl From<ParseIntError> for ShadowError
sourcefn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
sourceimpl From<String> for ShadowError
impl From<String> for ShadowError
Auto Trait Implementations
impl RefUnwindSafe for ShadowError
impl Send for ShadowError
impl Sync for ShadowError
impl Unpin for ShadowError
impl UnwindSafe for ShadowError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more