pub enum ShimError {
Copy(String),
BadItem(String),
Layout(String),
}Expand description
What went wrong decoding a record against a copybook.
Variants§
Copy(String)
BadItem(String)
A copybook line could not be parsed into a data item.
Layout(String)
The record/copybook produced no 01 record to lay out.
Trait Implementations§
impl Eq for ShimError
Source§impl Error for ShimError
impl Error for ShimError
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()
impl StructuralPartialEq for ShimError
Auto Trait Implementations§
impl Freeze for ShimError
impl RefUnwindSafe for ShimError
impl Send for ShimError
impl Sync for ShimError
impl Unpin for ShimError
impl UnsafeUnpin for ShimError
impl UnwindSafe for ShimError
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