pub struct CatBoostError { /* private fields */ }
Implementations§
Source§impl CatBoostError
impl CatBoostError
Sourcepub fn check_return_value(ret_val: bool) -> CatBoostResult<()>
pub fn check_return_value(ret_val: bool) -> CatBoostResult<()>
Check the return value from an CatBoost FFI call, and return the last error message on error. Return values of true are treated as success, returns values of false are treated as errors.
Trait Implementations§
Source§impl Debug for CatBoostError
impl Debug for CatBoostError
Source§impl Display for CatBoostError
impl Display for CatBoostError
Source§impl Error for CatBoostError
impl Error for CatBoostError
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 PartialEq for CatBoostError
impl PartialEq for CatBoostError
impl Eq for CatBoostError
impl StructuralPartialEq for CatBoostError
Auto Trait Implementations§
impl Freeze for CatBoostError
impl RefUnwindSafe for CatBoostError
impl Send for CatBoostError
impl Sync for CatBoostError
impl Unpin for CatBoostError
impl UnwindSafe for CatBoostError
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