pub enum SalienceError {
InvalidToken(u32),
ComputationError(String),
ConfigError(String),
MemoryError,
}
Variants§
Trait Implementations§
Source§impl Debug for SalienceError
impl Debug for SalienceError
Source§impl Display for SalienceError
impl Display for SalienceError
Source§impl Error for SalienceError
impl Error for SalienceError
1.30.0 · 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<SalienceError> for ZetaError
impl From<SalienceError> for ZetaError
Source§fn from(source: SalienceError) -> Self
fn from(source: SalienceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SalienceError
impl RefUnwindSafe for SalienceError
impl Send for SalienceError
impl Sync for SalienceError
impl Unpin for SalienceError
impl UnwindSafe for SalienceError
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