pub enum MeasurementSetWriteError {
MeasurementSetFull {
rows_attempted: usize,
rows_remaining: usize,
rows_total: usize,
},
CasacoreError {
inner: CasacoreError,
},
RubblError {
inner: Error,
},
BadArrayShape(BadArrayShape),
StdIo(Error),
SystemTimeError(SystemTimeError),
}
Variants
MeasurementSetFull
Fields
rows_attempted: usize
The row number (0-indexed)
rows_remaining: usize
Rows remaining.
rows_total: usize
Total capacity of measurement set
An error when trying to write to an unexpected row.
CasacoreError
Fields
inner: CasacoreError
From Rubbl Casacore
RubblError
Fields
inner: Error
From Rubbl
BadArrayShape(BadArrayShape)
StdIo(Error)
An IO error.
SystemTimeError(SystemTimeError)
Trait Implementations
sourceimpl Debug for MeasurementSetWriteError
impl Debug for MeasurementSetWriteError
sourceimpl Display for MeasurementSetWriteError
impl Display for MeasurementSetWriteError
sourceimpl Error for MeasurementSetWriteError
impl Error for MeasurementSetWriteError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<BadArrayShape> for MeasurementSetWriteError
impl From<BadArrayShape> for MeasurementSetWriteError
sourcefn from(source: BadArrayShape) -> Self
fn from(source: BadArrayShape) -> Self
Converts to this type from the input type.
sourceimpl From<CasacoreError> for MeasurementSetWriteError
impl From<CasacoreError> for MeasurementSetWriteError
sourcefn from(inner: CasacoreError) -> Self
fn from(inner: CasacoreError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for MeasurementSetWriteError
impl From<Error> for MeasurementSetWriteError
sourceimpl From<Error> for MeasurementSetWriteError
impl From<Error> for MeasurementSetWriteError
sourceimpl From<MeasurementSetWriteError> for IOError
impl From<MeasurementSetWriteError> for IOError
sourcefn from(source: MeasurementSetWriteError) -> Self
fn from(source: MeasurementSetWriteError) -> Self
Converts to this type from the input type.
sourceimpl From<SystemTimeError> for MeasurementSetWriteError
impl From<SystemTimeError> for MeasurementSetWriteError
sourcefn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for MeasurementSetWriteError
impl Send for MeasurementSetWriteError
impl Sync for MeasurementSetWriteError
impl Unpin for MeasurementSetWriteError
impl !UnwindSafe for MeasurementSetWriteError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<E> Fail for E where
E: 'static + Error + Send + Sync,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
sourcefn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more