pub enum VisioError {
Io(Error),
Zip(ZipError),
Xml(String),
InvalidFile(String),
UnsupportedFormat(String),
Cfb(String),
Decompression(String),
PageNotFound(usize),
}Expand description
Main error type for libvisio-rs operations.
Variants§
Io(Error)
Zip(ZipError)
Xml(String)
InvalidFile(String)
UnsupportedFormat(String)
Cfb(String)
Decompression(String)
PageNotFound(usize)
Trait Implementations§
Source§impl Debug for VisioError
impl Debug for VisioError
Source§impl Display for VisioError
impl Display for VisioError
Source§impl Error for VisioError
impl Error for VisioError
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<Error> for VisioError
impl From<Error> for VisioError
Auto Trait Implementations§
impl Freeze for VisioError
impl !RefUnwindSafe for VisioError
impl Send for VisioError
impl Sync for VisioError
impl Unpin for VisioError
impl UnsafeUnpin for VisioError
impl !UnwindSafe for VisioError
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