pub enum TdmsError {
Show 19 variants
Io(Error),
InvalidFormat(String),
InvalidSignature,
UnknownVersion(u32),
GroupNotFound(String),
ChannelNotFound(String, String),
UnsupportedDataType(u32),
InvalidName(String),
DuplicateName(String),
StringEncoding,
NotImplemented(String),
StringFormatting(String),
TypeMismatch,
AlignmentError,
InvalidRange(usize, usize, usize),
WriterClosed,
CompressionNotSupported(String),
PropertyTooLarge(usize),
Closed,
}Variants§
Io(Error)
InvalidFormat(String)
InvalidSignature
UnknownVersion(u32)
GroupNotFound(String)
ChannelNotFound(String, String)
UnsupportedDataType(u32)
InvalidName(String)
DuplicateName(String)
StringEncoding
NotImplemented(String)
StringFormatting(String)
TypeMismatch
AlignmentError
InvalidRange(usize, usize, usize)
WriterClosed
CompressionNotSupported(String)
PropertyTooLarge(usize)
Closed
Trait Implementations§
Source§impl Error for TdmsError
impl Error for TdmsError
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()
Auto Trait Implementations§
impl Freeze for TdmsError
impl !RefUnwindSafe for TdmsError
impl Send for TdmsError
impl Sync for TdmsError
impl Unpin for TdmsError
impl !UnwindSafe for TdmsError
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