pub enum SbomError {
Io(Error),
JsonParse(String),
YamlParse(String),
TomlParse(String),
Serialization(String),
UnsupportedFormat(String),
}Expand description
Error type for SBOM operations.
Variants§
Io(Error)
JsonParse(String)
YamlParse(String)
TomlParse(String)
Serialization(String)
UnsupportedFormat(String)
Trait Implementations§
Source§impl Error for SbomError
impl Error for SbomError
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 Freeze for SbomError
impl !RefUnwindSafe for SbomError
impl Send for SbomError
impl Sync for SbomError
impl Unpin for SbomError
impl !UnwindSafe for SbomError
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