pub enum GraphParamsError {
DegreeOrder {
r_target: u8,
r_max: u8,
},
AlphaOrder {
alpha_build: f32,
alpha_refine: f32,
},
ConstructionWidth {
l_build: u16,
r_target: u8,
},
CheckpointBatchRows,
}Expand description
Rejection of loose or contradictory graph-construction controls.
Variants§
DegreeOrder
The target degree was zero or exceeded the hard persisted cap.
AlphaOrder
Alpha values were non-finite, below one, or decreased on refinement.
ConstructionWidth
The construction beam was zero or narrower than the target degree.
CheckpointBatchRows
A checkpoint batch must contain at least one row.
Trait Implementations§
Source§impl Clone for GraphParamsError
impl Clone for GraphParamsError
impl Copy for GraphParamsError
Source§impl Debug for GraphParamsError
impl Debug for GraphParamsError
Source§impl Display for GraphParamsError
impl Display for GraphParamsError
Source§impl Error for GraphParamsError
impl Error for GraphParamsError
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 GraphParamsError
impl PartialEq for GraphParamsError
impl StructuralPartialEq for GraphParamsError
Auto Trait Implementations§
impl Freeze for GraphParamsError
impl RefUnwindSafe for GraphParamsError
impl Send for GraphParamsError
impl Sync for GraphParamsError
impl Unpin for GraphParamsError
impl UnsafeUnpin for GraphParamsError
impl UnwindSafe for GraphParamsError
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