pub enum GraphitePdfError {
Io(Error),
InvalidObject(String),
FontError(String),
ImageError(String),
InvalidPageSize(String),
EncodingError(String),
CompressionError(String),
InvalidArgument(String),
InvalidDocument(String),
Layout(String),
Render(String),
UnsupportedFeature(&'static str),
}Variants§
Io(Error)
InvalidObject(String)
FontError(String)
ImageError(String)
InvalidPageSize(String)
EncodingError(String)
CompressionError(String)
InvalidArgument(String)
InvalidDocument(String)
Layout(String)
Render(String)
UnsupportedFeature(&'static str)
Trait Implementations§
Source§impl Debug for GraphitePdfError
impl Debug for GraphitePdfError
Source§impl Display for GraphitePdfError
impl Display for GraphitePdfError
Source§impl Error for GraphitePdfError
impl Error for GraphitePdfError
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 GraphitePdfError
impl !RefUnwindSafe for GraphitePdfError
impl Send for GraphitePdfError
impl Sync for GraphitePdfError
impl Unpin for GraphitePdfError
impl UnsafeUnpin for GraphitePdfError
impl !UnwindSafe for GraphitePdfError
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