pub enum MatrixMaterializationError {
TooLarge {
context: &'static str,
nrows: usize,
ncols: usize,
bytes: usize,
limit_bytes: usize,
},
MissingRowChunk {
context: &'static str,
},
RowMaterializationFailed {
context: &'static str,
reason: String,
},
Forbidden {
context: &'static str,
mode: DerivativeStorageMode,
},
Reservation(MemoryReservationError),
}Variants§
TooLarge
MissingRowChunk
RowMaterializationFailed
Forbidden
Reservation(MemoryReservationError)
The process-wide MemoryGovernor could not reserve the requested live
footprint (or its checked byte size overflowed). Callers route to a
chunked or matrix-free strategy.
Trait Implementations§
Source§impl Debug for MatrixMaterializationError
impl Debug for MatrixMaterializationError
Source§impl Display for MatrixMaterializationError
impl Display for MatrixMaterializationError
Source§impl Error for MatrixMaterializationError
impl Error for MatrixMaterializationError
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 From<MemoryReservationError> for MatrixMaterializationError
impl From<MemoryReservationError> for MatrixMaterializationError
Source§fn from(source: MemoryReservationError) -> Self
fn from(source: MemoryReservationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MatrixMaterializationError
impl RefUnwindSafe for MatrixMaterializationError
impl Send for MatrixMaterializationError
impl Sync for MatrixMaterializationError
impl Unpin for MatrixMaterializationError
impl UnsafeUnpin for MatrixMaterializationError
impl UnwindSafe for MatrixMaterializationError
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