Enum ceres_solver::error::Error
source · pub enum Error {
ResidualBlockBuildingError(ResidualBlockBuildingError),
SolverOptionsBuildingError(SolverOptionsBuildingError),
CurveFitProblemBuildError(CurveFitProblemBuildError),
NllsProblemError(NllsProblemError),
}Variants§
ResidualBlockBuildingError(ResidualBlockBuildingError)
SolverOptionsBuildingError(SolverOptionsBuildingError)
CurveFitProblemBuildError(CurveFitProblemBuildError)
NllsProblemError(NllsProblemError)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CurveFitProblemBuildError> for Error
impl From<CurveFitProblemBuildError> for Error
source§fn from(source: CurveFitProblemBuildError) -> Self
fn from(source: CurveFitProblemBuildError) -> Self
Converts to this type from the input type.
source§impl From<NllsProblemError> for Error
impl From<NllsProblemError> for Error
source§fn from(source: NllsProblemError) -> Self
fn from(source: NllsProblemError) -> Self
Converts to this type from the input type.
source§impl From<ResidualBlockBuildingError> for Error
impl From<ResidualBlockBuildingError> for Error
source§fn from(source: ResidualBlockBuildingError) -> Self
fn from(source: ResidualBlockBuildingError) -> Self
Converts to this type from the input type.
source§impl From<SolverOptionsBuildingError> for Error
impl From<SolverOptionsBuildingError> for Error
source§fn from(source: SolverOptionsBuildingError) -> Self
fn from(source: SolverOptionsBuildingError) -> Self
Converts to this type from the input type.