pub enum QuoteGenerationError {
Generation(u32, u32),
IO(Error),
ParseInt,
BadProvider(String),
CannotFindTsmDir,
EmptyQuote,
}
Expand description
An error when parsing a quote
Variants§
Trait Implementations§
Source§impl Debug for QuoteGenerationError
impl Debug for QuoteGenerationError
Source§impl Display for QuoteGenerationError
impl Display for QuoteGenerationError
Source§impl Error for QuoteGenerationError
impl Error for QuoteGenerationError
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 QuoteGenerationError
impl From<Error> for QuoteGenerationError
Source§fn from(error: Error) -> QuoteGenerationError
fn from(error: Error) -> QuoteGenerationError
Converts to this type from the input type.
Source§impl From<ParseIntError> for QuoteGenerationError
impl From<ParseIntError> for QuoteGenerationError
Source§fn from(_: ParseIntError) -> QuoteGenerationError
fn from(_: ParseIntError) -> QuoteGenerationError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QuoteGenerationError
impl !RefUnwindSafe for QuoteGenerationError
impl Send for QuoteGenerationError
impl Sync for QuoteGenerationError
impl Unpin for QuoteGenerationError
impl !UnwindSafe for QuoteGenerationError
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