pub enum IcddError {
Io(Error),
Zip(ZipError),
Rdf(String),
NotConformant(String),
}Expand description
Errors that can occur opening or parsing an ISO 21597-1 container.
Variants§
Io(Error)
I/O failure reading the file / ZIP entry.
Zip(ZipError)
The ZIP archive is malformed or not a ZIP.
Rdf(String)
RDF/XML parse failure inside Index.rdf or a linkset.
NotConformant(String)
A conformance requirement was not met (ISO 21597-1 Clause 5).
Trait Implementations§
Source§impl Error for IcddError
impl Error for IcddError
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 IcddError
impl !UnwindSafe for IcddError
impl Freeze for IcddError
impl Send for IcddError
impl Sync for IcddError
impl Unpin for IcddError
impl UnsafeUnpin for IcddError
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