#[non_exhaustive]pub enum LineParseError {
Show 34 variants
DescriptiveRecordTypeZero(String),
DescriptiveBlankOne,
DescriptiveReelSequence(String),
DescriptiveUserName,
DescriptiveBlankTwo,
DescriptiveSelfName,
DescriptiveApca,
DescriptiveFileEntry,
DescriptiveDate,
DescriptiveBlankThree,
DetailRecordTypeOne(u32, String),
DetailBsbClient(u32, String),
DetailDestAccount(u32),
DetailIndicator(u32),
DetailTransCode(u32),
DetailAmount(u32),
DetailClientName(u32),
DetailLodgeRef(u32),
DetailBsbTrace(u32, String),
DetailSrcAccount(u32),
DetailRemitter(u32),
DetailTaxWithhold(u32),
TotalTypeSeven(String),
TotalBsbFiller(String),
TotalBlankOne,
TotalField,
TotalCompute,
TotalMalformedCreditDebit,
TotalCredit,
TotalDebit,
TotalBlankTwo,
TotalNonNumeric,
TotalCount(u32, u32),
TotalBlankThree,
}Expand description
Pre-filled error messages for line counts and data fields which are fixed in the blocks structures
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DescriptiveRecordTypeZero(String)
DescriptiveBlankOne
DescriptiveReelSequence(String)
DescriptiveUserName
DescriptiveBlankTwo
DescriptiveSelfName
DescriptiveApca
DescriptiveFileEntry
DescriptiveDate
DescriptiveBlankThree
DetailRecordTypeOne(u32, String)
DetailBsbClient(u32, String)
DetailDestAccount(u32)
DetailIndicator(u32)
DetailTransCode(u32)
DetailAmount(u32)
DetailClientName(u32)
DetailLodgeRef(u32)
DetailBsbTrace(u32, String)
DetailSrcAccount(u32)
DetailRemitter(u32)
DetailTaxWithhold(u32)
TotalTypeSeven(String)
TotalBsbFiller(String)
TotalBlankOne
TotalField
TotalCompute
TotalMalformedCreditDebit
TotalCredit
TotalDebit
TotalBlankTwo
TotalNonNumeric
TotalCount(u32, u32)
TotalBlankThree
Trait Implementations§
Source§impl Clone for LineParseError
impl Clone for LineParseError
Source§fn clone(&self) -> LineParseError
fn clone(&self) -> LineParseError
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 LineParseError
impl Debug for LineParseError
Source§impl Display for LineParseError
impl Display for LineParseError
Source§impl Error for LineParseError
impl Error for LineParseError
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()
Auto Trait Implementations§
impl Freeze for LineParseError
impl RefUnwindSafe for LineParseError
impl Send for LineParseError
impl Sync for LineParseError
impl Unpin for LineParseError
impl UnwindSafe for LineParseError
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