pub struct FormatError { /* private fields */ }
Expand description
An error encountered while parsing a PortablePdb
file.
Implementations§
Source§impl FormatError
impl FormatError
Sourcepub fn kind(&self) -> FormatErrorKind
pub fn kind(&self) -> FormatErrorKind
Returns the corresponding FormatErrorKind
for this error.
Trait Implementations§
Source§impl Debug for FormatError
impl Debug for FormatError
Source§impl Display for FormatError
impl Display for FormatError
Source§impl Error for FormatError
impl Error for FormatError
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<FormatError> for CacheError
impl From<FormatError> for CacheError
Source§fn from(e: FormatError) -> Self
fn from(e: FormatError) -> Self
Converts to this type from the input type.
Source§impl From<FormatErrorKind> for FormatError
impl From<FormatErrorKind> for FormatError
Source§fn from(kind: FormatErrorKind) -> Self
fn from(kind: FormatErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FormatError
impl !RefUnwindSafe for FormatError
impl Send for FormatError
impl Sync for FormatError
impl Unpin for FormatError
impl !UnwindSafe for FormatError
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