pub enum EmbedderError {
Failure(EmbedderFailure),
Timeout(EmbedderTimeout),
}Expand description
Typed unsuccessful outcome from an Embedder call.
Variants§
Failure(EmbedderFailure)
The delegate completed with a failure instead of a vector.
Timeout(EmbedderTimeout)
The delegate did not complete before its deadline.
Trait Implementations§
Source§impl Clone for EmbedderError
impl Clone for EmbedderError
Source§impl Debug for EmbedderError
impl Debug for EmbedderError
Source§impl Display for EmbedderError
impl Display for EmbedderError
impl Eq for EmbedderError
Source§impl Error for EmbedderError
impl Error for EmbedderError
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<EmbedderFailure> for EmbedderError
impl From<EmbedderFailure> for EmbedderError
Source§fn from(error: EmbedderFailure) -> Self
fn from(error: EmbedderFailure) -> Self
Converts to this type from the input type.
Source§impl From<EmbedderTimeout> for EmbedderError
impl From<EmbedderTimeout> for EmbedderError
Source§fn from(error: EmbedderTimeout) -> Self
fn from(error: EmbedderTimeout) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmbedderError
impl PartialEq for EmbedderError
impl StructuralPartialEq for EmbedderError
Auto Trait Implementations§
impl Freeze for EmbedderError
impl RefUnwindSafe for EmbedderError
impl Send for EmbedderError
impl Sync for EmbedderError
impl Unpin for EmbedderError
impl UnsafeUnpin for EmbedderError
impl UnwindSafe for EmbedderError
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