pub enum MSErrorCode {
GenericError,
NotSEED,
WrongLength,
OutOfRange,
UnknownFormat,
SteimBadCompressionFlag,
InvalidCRC,
}Expand description
An enumeration of possible errors that can happen when working with miniSEED records.
Variants§
GenericError
Generic unspecified error
NotSEED
Data not SEED
WrongLength
Length of data read was incorrect
OutOfRange
SEED record length out of range
UnknownFormat
Unknown data encoding format
SteimBadCompressionFlag
Steim, invalid compression
InvalidCRC
Invalid CRC
Trait Implementations§
Source§impl Clone for MSErrorCode
impl Clone for MSErrorCode
Source§fn clone(&self) -> MSErrorCode
fn clone(&self) -> MSErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MSErrorCode
impl Debug for MSErrorCode
Source§impl PartialEq for MSErrorCode
impl PartialEq for MSErrorCode
impl Copy for MSErrorCode
impl Eq for MSErrorCode
impl StructuralPartialEq for MSErrorCode
Auto Trait Implementations§
impl Freeze for MSErrorCode
impl RefUnwindSafe for MSErrorCode
impl Send for MSErrorCode
impl Sync for MSErrorCode
impl Unpin for MSErrorCode
impl UnwindSafe for MSErrorCode
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