pub enum MwalibError {
Fits(FitsError),
Beam(BeamError),
CalibrationFit(CalibrationFitError),
CoarseChannel(CoarseChannelError),
Metafits(MetafitsError),
Rfinput(RfinputError),
Gpubox(GpuboxError),
Voltage(VoltageFileError),
Parse {
key: String,
fits_filename: String,
hdu_num: usize,
source_file: String,
source_line: u32,
},
}Expand description
MwalibError subtypes
Variants§
Fits(FitsError)
An error derived from FitsError.
Beam(BeamError)
An error derived from BeamError.
CalibrationFit(CalibrationFitError)
An error derived from CalibrationFitError.
CoarseChannel(CoarseChannelError)
An error derived from CoarseChannel.
Metafits(MetafitsError)
An error dervied from MetafitsError.
Rfinput(RfinputError)
An error derived from RfinputError.
Gpubox(GpuboxError)
An error derived from GpuboxError.
Voltage(VoltageFileError)
An error derived from VoltageFileError.
Parse
Trait Implementations§
Source§impl Debug for MwalibError
impl Debug for MwalibError
Source§impl Display for MwalibError
impl Display for MwalibError
Source§impl Error for MwalibError
impl Error for MwalibError
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<CalibrationFitError> for MwalibError
impl From<CalibrationFitError> for MwalibError
Source§fn from(source: CalibrationFitError) -> Self
fn from(source: CalibrationFitError) -> Self
Converts to this type from the input type.
Source§impl From<CoarseChannelError> for MwalibError
impl From<CoarseChannelError> for MwalibError
Source§fn from(source: CoarseChannelError) -> Self
fn from(source: CoarseChannelError) -> Self
Converts to this type from the input type.
Source§impl From<FitsError> for MwalibError
impl From<FitsError> for MwalibError
Source§impl From<GpuboxError> for MwalibError
impl From<GpuboxError> for MwalibError
Source§fn from(source: GpuboxError) -> Self
fn from(source: GpuboxError) -> Self
Converts to this type from the input type.
Source§impl From<MetafitsError> for MwalibError
impl From<MetafitsError> for MwalibError
Source§fn from(source: MetafitsError) -> Self
fn from(source: MetafitsError) -> Self
Converts to this type from the input type.
Source§impl From<RfinputError> for MwalibError
impl From<RfinputError> for MwalibError
Source§fn from(source: RfinputError) -> Self
fn from(source: RfinputError) -> Self
Converts to this type from the input type.
Source§impl From<VoltageFileError> for MwalibError
impl From<VoltageFileError> for MwalibError
Source§fn from(source: VoltageFileError) -> Self
fn from(source: VoltageFileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MwalibError
impl !UnwindSafe for MwalibError
impl Freeze for MwalibError
impl Send for MwalibError
impl Sync for MwalibError
impl Unpin for MwalibError
impl UnsafeUnpin for MwalibError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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