pub enum ObjectiveEvalError {
Recoverable {
message: String,
},
Fatal {
message: String,
},
}Variants§
Implementations§
Source§impl ObjectiveEvalError
impl ObjectiveEvalError
pub fn recoverable(message: impl Into<String>) -> ObjectiveEvalError
pub fn fatal(message: impl Into<String>) -> ObjectiveEvalError
Trait Implementations§
Source§impl Clone for ObjectiveEvalError
impl Clone for ObjectiveEvalError
Source§fn clone(&self) -> ObjectiveEvalError
fn clone(&self) -> ObjectiveEvalError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectiveEvalError
impl Debug for ObjectiveEvalError
Source§impl Display for ObjectiveEvalError
impl Display for ObjectiveEvalError
Source§impl Error for ObjectiveEvalError
impl Error for ObjectiveEvalError
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()
Auto Trait Implementations§
impl Freeze for ObjectiveEvalError
impl RefUnwindSafe for ObjectiveEvalError
impl Send for ObjectiveEvalError
impl Sync for ObjectiveEvalError
impl Unpin for ObjectiveEvalError
impl UnsafeUnpin for ObjectiveEvalError
impl UnwindSafe for ObjectiveEvalError
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