pub enum IltpError {
Record(RecordError),
Truncated(IltpTruncation),
ItemTooLarge,
Malformed(String),
StreamEncoding(StreamEncodingError),
Local(&'static str),
}Expand description
Error returned by the ILTP codec.
Variants§
Record(RecordError)
Truncated(IltpTruncation)
ItemTooLarge
Malformed(String)
StreamEncoding(StreamEncodingError)
Local(&'static str)
Local encoder or output-ownership failure: Integration.
Implementations§
Trait Implementations§
impl Eq for IltpError
Source§impl Error for IltpError
impl Error for IltpError
1.30.0 · 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<RecordError> for IltpError
impl From<RecordError> for IltpError
Source§fn from(value: RecordError) -> Self
fn from(value: RecordError) -> Self
Converts to this type from the input type.
Source§impl From<StreamEncodingError> for IltpError
impl From<StreamEncodingError> for IltpError
Source§fn from(value: StreamEncodingError) -> Self
fn from(value: StreamEncodingError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for IltpError
Auto Trait Implementations§
impl Freeze for IltpError
impl RefUnwindSafe for IltpError
impl Send for IltpError
impl Sync for IltpError
impl Unpin for IltpError
impl UnsafeUnpin for IltpError
impl UnwindSafe for IltpError
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