pub struct TooLargeBufferSize {
    pub num_elements: usize,
    pub element_size: usize,
}
Expand description

Error indicating a failed allocation for a column buffer

Fields

num_elements: usize

Number of elements supposed to be in the buffer.

element_size: usize

Element size in the buffer in bytes.

Implementations

Map the column allocation error to an crate::Error adding the context of which column caused the allocation error.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.