pub enum DebuginfodError {
InvalidUrl {
raw: String,
source: ParseError,
},
UnsupportedUrlScheme {
raw: String,
scheme: String,
},
EmptyBuildId,
InvalidSourcePath(String),
Http(Error),
Io {
path: PathBuf,
source: Error,
},
ResponseTooLarge {
max_size: u64,
},
}Variants§
InvalidUrl
UnsupportedUrlScheme
EmptyBuildId
InvalidSourcePath(String)
Http(Error)
Io
ResponseTooLarge
Trait Implementations§
Source§impl Debug for DebuginfodError
impl Debug for DebuginfodError
Source§impl Display for DebuginfodError
impl Display for DebuginfodError
Source§impl Error for DebuginfodError
impl Error for DebuginfodError
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 DebuginfodError
impl !UnwindSafe for DebuginfodError
impl Freeze for DebuginfodError
impl Send for DebuginfodError
impl Sync for DebuginfodError
impl Unpin for DebuginfodError
impl UnsafeUnpin for DebuginfodError
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