pub enum SpdLoadError {
Io(Error),
Parse(String),
}Expand description
Errors that can come out of SPD loading.
Variants§
Trait Implementations§
Source§impl Debug for SpdLoadError
impl Debug for SpdLoadError
Source§impl Display for SpdLoadError
impl Display for SpdLoadError
Source§impl Error for SpdLoadError
impl Error for SpdLoadError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for SpdLoadError
impl !UnwindSafe for SpdLoadError
impl Forget for SpdLoadError
impl Freeze for SpdLoadError
impl Move for SpdLoadError
impl Send for SpdLoadError
impl Sync for SpdLoadError
impl Unpin for SpdLoadError
impl UnsafeUnpin for SpdLoadError
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