pub struct ErrorRecoveryHelper;Expand description
Error recovery helpers for common PandRS errors
Implementations§
Source§impl ErrorRecoveryHelper
impl ErrorRecoveryHelper
Sourcepub fn column_not_found_suggestions(
missing_column: &str,
available_columns: &[String],
) -> Vec<String>
pub fn column_not_found_suggestions( missing_column: &str, available_columns: &[String], ) -> Vec<String>
Generate suggestions for column not found errors
Sourcepub fn shape_mismatch_suggestions(
expected: (usize, usize),
actual: (usize, usize),
) -> Vec<String>
pub fn shape_mismatch_suggestions( expected: (usize, usize), actual: (usize, usize), ) -> Vec<String>
Generate suggestions for shape mismatch errors
Auto Trait Implementations§
impl Freeze for ErrorRecoveryHelper
impl RefUnwindSafe for ErrorRecoveryHelper
impl Send for ErrorRecoveryHelper
impl Sync for ErrorRecoveryHelper
impl Unpin for ErrorRecoveryHelper
impl UnsafeUnpin for ErrorRecoveryHelper
impl UnwindSafe for ErrorRecoveryHelper
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more