pub struct PError { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Error for PError
impl Error for PError
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<FromUtf8Error> for PError
impl From<FromUtf8Error> for PError
Source§fn from(value: FromUtf8Error) -> PError
fn from(value: FromUtf8Error) -> PError
Converts to this type from the input type.
Source§impl From<Infallible> for PError
impl From<Infallible> for PError
Source§fn from(value: Infallible) -> PError
fn from(value: Infallible) -> PError
Converts to this type from the input type.
Source§impl From<ParseBoolError> for PError
impl From<ParseBoolError> for PError
Source§fn from(value: ParseBoolError) -> PError
fn from(value: ParseBoolError) -> PError
Converts to this type from the input type.
Source§impl From<ParseCharError> for PError
impl From<ParseCharError> for PError
Source§fn from(value: ParseCharError) -> PError
fn from(value: ParseCharError) -> PError
Converts to this type from the input type.
Source§impl From<ParseFloatError> for PError
impl From<ParseFloatError> for PError
Source§fn from(value: ParseFloatError) -> PError
fn from(value: ParseFloatError) -> PError
Converts to this type from the input type.
Source§impl From<ParseIntError> for PError
impl From<ParseIntError> for PError
Source§fn from(value: ParseIntError) -> PError
fn from(value: ParseIntError) -> PError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PError
impl RefUnwindSafe for PError
impl Send for PError
impl Sync for PError
impl Unpin for PError
impl UnwindSafe for PError
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