Enum marlu::selection::SelectionError
source · pub enum SelectionError {
NoCommonTimesteps {
hdu_info: String,
},
NoProvidedTimesteps {
hdu_info: String,
},
InsufficientMemory {
need_gib: usize,
},
BadArrayShape {
argument: String,
function: String,
expected: String,
received: String,
},
Mwalib(GpuboxError),
}
Variants§
NoCommonTimesteps
Error for when gpuboxes provided have no overlapping visibilities
NoProvidedTimesteps
Error for when gpuboxes provided have no overlapping visibilities
InsufficientMemory
Error when we asked for too much memory
BadArrayShape
Fields
Error for bad array shape in provided argument
Mwalib(GpuboxError)
Trait Implementations§
source§impl Debug for SelectionError
impl Debug for SelectionError
source§impl Display for SelectionError
impl Display for SelectionError
source§impl Error for SelectionError
impl Error for SelectionError
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<GpuboxError> for SelectionError
impl From<GpuboxError> for SelectionError
source§fn from(source: GpuboxError) -> Self
fn from(source: GpuboxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SelectionError
impl Send for SelectionError
impl Sync for SelectionError
impl Unpin for SelectionError
impl !UnwindSafe for SelectionError
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